Share via


SPClaimEntityTypes.ArePrincipalTypeAndEntityTypeConsistent method

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

Syntax

'Declaration
Public Shared Function ArePrincipalTypeAndEntityTypeConsistent ( _
    principalType As SPPrincipalType, _
    entityTypes As String() _
) As Boolean
'Usage
Dim principalType As SPPrincipalType
Dim entityTypes As String()
Dim returnValue As Boolean

returnValue = SPClaimEntityTypes.ArePrincipalTypeAndEntityTypeConsistent(principalType, _
    entityTypes)
public static bool ArePrincipalTypeAndEntityTypeConsistent(
    SPPrincipalType principalType,
    string[] entityTypes
)

Parameters

  • entityTypes
    Type: []

Return value

Type: System.Boolean

See also

Reference

SPClaimEntityTypes class

SPClaimEntityTypes members

Microsoft.SharePoint.Administration.Claims namespace