Click or drag to resize
CurrentUserInfoGetRoleIdList Method (Boolean, Boolean)

Note: This API is now obsolete.

Returns IDs of roles for current site and user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use GetRoleIdList with siteName parameter instead instead.")]
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