Click or drag to resize
UserInfoProviderGetRolesForUser Method
Returns all roles for specified user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public static string[] GetRolesForUser(
	string userName,
	string siteName
)

Parameters

userName
Type: SystemString
User name.
siteName
Type: SystemString
Site name.

Return Value

Type: String
See Also