W
wildman
Hello.
Simple security design, where all intranet users can get to most
pages, but a few ADMIN pages need to be secured to select users. We've
added those users to an AD group.
Whle testing I noticed this returns YES
If (Page.User.IsInRole("USERS")) Then
Response.Write("YES")
Else
Response.Write("NO")
End If
and so does this, because im under the admnistrators group on my local
client;
If (Page.User.IsInRole("ADMINISTRATORS")) Then
Response.Write("YES")
Else
Response.Write("NO")
End If
However, this test (on a group that does not exsist) results in the
error:
The trust relationship between the primary domain and the trusted
domain failed.
If (Page.User.IsInRole("XXX")) Then
Response.Write("YES")
Else
Response.Write("NO")
End If
I having the network admins add my user to new AD group to test this
out, but am wondering if this is really checking AD groups or just
local groups and what that above error might mean.
Thanks for any help or information.
Simple security design, where all intranet users can get to most
pages, but a few ADMIN pages need to be secured to select users. We've
added those users to an AD group.
Whle testing I noticed this returns YES
If (Page.User.IsInRole("USERS")) Then
Response.Write("YES")
Else
Response.Write("NO")
End If
and so does this, because im under the admnistrators group on my local
client;
If (Page.User.IsInRole("ADMINISTRATORS")) Then
Response.Write("YES")
Else
Response.Write("NO")
End If
However, this test (on a group that does not exsist) results in the
error:
The trust relationship between the primary domain and the trusted
domain failed.
If (Page.User.IsInRole("XXX")) Then
Response.Write("YES")
Else
Response.Write("NO")
End If
I having the network admins add my user to new AD group to test this
out, but am wondering if this is really checking AD groups or just
local groups and what that above error might mean.
Thanks for any help or information.