CurrentUserInfo GetRoleIdList Method (Boolean, Boolean)Kentico 8.0 API Reference
Returns IDs of roles for current site and user.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

includeGlobal
Type: OnlineSystem Boolean
If true global roles are included
includeMembership
Type: OnlineSystem Boolean
If true membership roles are included

Return Value

Type: OnlineString
See Also