jeffinperth
Technical User
Hi All,
I've tried all sorts of combinations, but cannot figure this one out. I want to use LOGON_USER to restrict access to some asp pages, I can get it working on one line, but how do I split this code so there is one username on each line?
cheers
Jeff
<snip>
If Request("LOGON_USER" <> "sql\jeffn" and Request("LOGON_USER" <> "sql\lisam" and Request("LOGON_USER" <> "sql\virginiam" and Request("LOGON_USER" <> "sql\hilarym" and Request("LOGON_USER" <> "HOP\rejaneb" and Request("LOGON_USER" <> "sql\lynnec" Then
I've tried all sorts of combinations, but cannot figure this one out. I want to use LOGON_USER to restrict access to some asp pages, I can get it working on one line, but how do I split this code so there is one username on each line?
cheers
Jeff
<snip>
If Request("LOGON_USER" <> "sql\jeffn" and Request("LOGON_USER" <> "sql\lisam" and Request("LOGON_USER" <> "sql\virginiam" and Request("LOGON_USER" <> "sql\hilarym" and Request("LOGON_USER" <> "HOP\rejaneb" and Request("LOGON_USER" <> "sql\lynnec" Then