GetRolesForUser Method

Roles.GetRolesForUser Method

 

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

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetRolesForUser()

Gets a list of the roles that the currently logged-on user is in.

System_CAPS_pubmethodSystem_CAPS_staticGetRolesForUser(String)

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

Return to top
Show:
© 2016 Microsoft