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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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