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)


Public ReadOnly Property IsApplicationPrincipal As Boolean
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.


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

See also


SPUser class

SPUser members

Microsoft.SharePoint namespace

Other resources

How to: Create an Application Principal User