Click or drag to resize
UserInfoGetRoleIdList 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: SystemBoolean
If true global roles are included
includeMembership
Type: SystemBoolean
If true membership roles are included
siteName
Type: SystemString
Current site name

Return Value

Type: String
See Also