Authorization Attributes

Feb 23, 2010 at 11:34 AM

Is there a way to get the authorization attributes for a given user?

 

Thanks
Joni

Coordinator
Feb 24, 2010 at 7:18 AM

Simply … invoke a CheckAccess foreach Role … and collect all (out) retruned attributes collections.

Regard,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com

Feb 24, 2010 at 8:47 AM

Sorry, I must be missing something. All the CheckAccess methods return AuthorizationType enum, how would that help me?

But I now see the GetAuthorizationsOfMember method, which looks promising.

 

Thanks
Joni

Coordinator
Feb 24, 2010 at 9:11 AM

The CheckAccess method has several overloads.

One of these overloads has an out parameters called Attributes (List<KeyValuePair<String, String>>).

Regards,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com

Feb 26, 2010 at 10:50 AM

Great! Thanks!

 

Joni