Share via


SPUser.IsApplicationPrincipal property

Gets a value that indicates whether the SPUser object represents an application principal.

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

Syntax

'Declaration
Public ReadOnly Property IsApplicationPrincipal As Boolean
    Get
'Usage
Dim instance As SPUser
Dim value As Boolean

value = instance.IsApplicationPrincipal
public bool IsApplicationPrincipal { get; }

Property value

Type: System.Boolean
true if the SPUser object is a user object that is delegated to act on behalf of an external application; otherwise false.

Remarks

If IsApplicationPrincipal is true, then both IsSiteAuditor and IsSiteAdmin must be false.

See also

Reference

SPUser class

SPUser members

Microsoft.SharePoint namespace

Other resources

How to: Create an Application Principal User