GetRolesForUser Method
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Web.Security Namespace
Roles Class
Roles Methods
GetRolesForUser Method
GetRolesForUser Method
GetRolesForUser Method (String ...
Roles Methods
AddUsersToRole Method
AddUsersToRoles Method
AddUserToRole Method
AddUserToRoles Method
CreateRole Method
DeleteCookie Method
DeleteRole Method
FindUsersInRole Method
GetAllRoles Method
GetRolesForUser Method
GetUsersInRole Method
IsUserInRole Method
RemoveUserFromRole Method
RemoveUserFromRoles Method
RemoveUsersFromRole Method
RemoveUsersFromRoles Method
RoleExists Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
Roles
.
.
::
.
GetRolesForUser Method
Gets a list of the roles that a user is in.
Overload List
Name
Description
GetRolesForUser
()
()
()
Gets a list of the roles that the currently logged-on user is in.
GetRolesForUser(String)
Gets a list of the roles that a user is in.
Top
See Also
Reference
Roles Class
Roles Members
System.Web.Security Namespace
Other Resources
Understanding Role Management
Tags :