Click or drag to resize
CurrentUserInfoGetRoleIdList Method (Boolean, Boolean)
Returns IDs of roles for current site and user.

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

Parameters

includeGlobal
Type: SystemBoolean
If true global roles are included
includeMembership
Type: SystemBoolean
If true membership roles are included

Return Value

Type: String
See Also