Subject: security --- IsInRole()
Posted By: jiasheng Post Date: 9/13/2006 8:18:26 PM
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


Go to topic 49713

Return to index page 176
Return to index page 175
Return to index page 174
Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167