Partilhar 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