Click or drag to resize
RoleInfoProviderGetAllRoles Method (Int32, Boolean)
Returns DataSet with roles of given site (if siteId > 0) with option to display GroupRoles.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
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: InfoDataSetRoleInfo
See Also