security --- IsInRole()
As per the book page 748 on security,
it says ASP.net is able to find out if the user is in a certain windows account group by
blnResult = User.IsInRole(@"Machinename\group");
however no matter how i tried it doesnt seem to work for
User.IsInRole(@"server\accounts");
it always return false
however if i use @"BuiltIn\Administrators"
its still able to return true.
please advice
|