CurrentUserInfo GetRoleIdList Method (Boolean, Boolean)Kentico 8.1 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.1.5347.20411)

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