Share via


SPAllUserClaimProvider.CreateAuthenticatedUserClaim method

Verifies that all users of a given identity provider have authenticated credentials and returns the appropriate SPClaimobject.

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

Syntax

'Declaration
Public Shared Function CreateAuthenticatedUserClaim ( _
    authenticated As Boolean _
) As SPClaim
'Usage
Dim authenticated As Boolean
Dim returnValue As SPClaim

returnValue = SPAllUserClaimProvider.CreateAuthenticatedUserClaim(authenticated)
public static SPClaim CreateAuthenticatedUserClaim(
    bool authenticated
)

Parameters

  • authenticated
    Type: System.Boolean

    true to indicate that all users are authenticated; otherwise, false.

Return value

Type: Microsoft.SharePoint.Administration.Claims.SPClaim
An object that represents an SPClaim object that verifies that all users of a given identity provider have authenticated credentials.

See also

Reference

SPAllUserClaimProvider class

SPAllUserClaimProvider members

Microsoft.SharePoint.Administration.Claims namespace