Click or drag to resize
UserInfo.GetRoleIdList Method
Gets all roles for current user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public string GetRoleIdList(
	bool includeGlobal,
	bool includeMembership,
	string siteName
)

Parameters

includeGlobal
Type: System.Boolean
If true global roles are included
includeMembership
Type: System.Boolean
If true membership roles are included
siteName
Type: System.String
Current site name

Return Value

Type: String
See Also