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