Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetRolesForUser Method

Roles.GetRolesForUser Method

Gets a list of the roles that a user is in.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member GetRolesForUser() Gets a list of the roles that the currently logged-on user is in.
Public method Static member GetRolesForUser(String) Gets a list of the roles that a user is in.
Top
Show:
© 2015 Microsoft