AzMan AccessCheck problem with Active Directory Groups -
03-12-2007
, 08:46 AM
I have trouble using AD groups assigned to Roles in AzMan.
The AccessCheck function works great when I assign AD Users direct to
AzMan Roles.
If I put an AD User into an AD Group then assign the AD Group to my
Role in AzMan the AccessCheck always return false?!?
AD is running on one 2003 server and the application is running on a
2003 server SP1, servers are on the same domain.
My test code looks like this,
// Set operation number
object[] operations = new object[1];
operations[0] = 1; // Test operation
// Access Check
object[] scopes = { null };
object[] results = new object[1];
results = (object[])clientContext.AccessCheck("TEST",
scopes, operations, null,null, null, null, null);
int result;
result = (int)results[0];
// Return
if (result == 0)
return true;
else
return false;
Any suggestions? |