RoleInfoProvider GetRoleInfo 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. Role name with dots is considered as global.
siteName
Type: OnlineSystem String
Role's site name.
globalIfNoSite
Type: OnlineSystem Boolean
If true, global role is returned, if no site role is found

Return Value

Type: RoleInfo
See Also