RoleInfoProvider GetRoleInfoInternal Method (String, String, Boolean)Kentico 8.0 API Reference
Returns the role info object with specified role name.

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

Parameters

roleName
Type: OnlineSystem String
Role name to find
siteName
Type: OnlineSystem String
Role's site name.
globalIfNoSite
Type: OnlineSystem Boolean
If true, global role with the same codename is returned, when no site role is found

Return Value

Type: RoleInfo
See Also