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
- principalType
Type: Microsoft.SharePoint.Utilities.SPPrincipalType
- entityTypes
Type: []
Return value
Type: System.Boolean