Share via


SPClaimsAuthRoleProvider.GetUsersInRole method (String)

Gets the list of users in the specified role 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 GetUsersInRole ( _
    roleName As String _
) As String()
'Usage
Dim instance As SPClaimsAuthRoleProvider
Dim roleName As String
Dim returnValue As String()

returnValue = instance.GetUsersInRole(roleName)
public override string[] GetUsersInRole(
    string roleName
)

Parameters

  • roleName
    Type: System.String

    The role name from which the users are retrieved.

Return value

Type: []
The list of users in the specified role.

Remarks

This override gets the list of users 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

GetUsersInRole overload

Microsoft.SharePoint.Administration.Claims namespace