RoleInfoProviderGetAllRoles Method (Int32, Boolean) |
Returns DataSet with roles of given site (if siteId > 0) with option to display GroupRoles.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax public static InfoDataSet<RoleInfo> GetAllRoles(
int siteId,
bool includingGeneric
)
Parameters
- siteId
- Type: SystemInt32
SiteID of site which roles we want to return - includingGeneric
- Type: SystemBoolean
If set to true then Generic roles are also returned in DataSet
Return Value
Type:
InfoDataSetRoleInfoSee Also