| RoleInfoProviderGetAllRoles Method (Int32, Boolean, 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: 10.0.0
 Syntax
Syntaxpublic static InfoDataSet<RoleInfo> GetAllRoles(
	int siteId,
	bool includingGroups,
	bool includingGeneric
)
Parameters
- siteId
- Type: SystemInt32
 SiteID of site which roles we want to return
- includingGroups
- Type: SystemBoolean
 If set to true then GroupRoles are also returned in DataSet
- includingGeneric
- Type: SystemBoolean
 If set to true then Generic roles are also returned in DataSet
Return Value
Type: 
InfoDataSetRoleInfo See Also
See Also