Share via


SPClaimsAuthRoleProvider.GetAllRoles method

Gets a list of the roles for the application represented by the ApplicationName property.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Function GetAllRoles As String()
'Usage
Dim instance As SPClaimsAuthRoleProvider
Dim returnValue As String()

returnValue = instance.GetAllRoles()
public override string[] GetAllRoles()

Return value

Type: []
The names of the roles.

Remarks

This override gets the names of the roles in the claims-based role provider that is not an SPClaimsAuthRoleProvider and is used by the current application.

See also

Reference

SPClaimsAuthRoleProvider class

SPClaimsAuthRoleProvider members

Microsoft.SharePoint.Administration.Claims namespace