共用方式為


SPUser.IsSiteAuditor Property

Gets a Boolean value that indicates whether the user is a site collection auditor.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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

Property Value

Type: System.Boolean
true if the user is a site collection auditor; otherwise, false.

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace