UserInfoProviderGetRolesForUser Method |
Returns all roles for specified user.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax public static string[] GetRolesForUser(
string userName,
string siteName
)
Parameters
- userName
- Type: SystemString
User name. - siteName
- Type: SystemString
Site name.
Return Value
Type:
StringSee Also