共用方式為


SPPrincipalInfo class

提供存取目前主體的相關資訊。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPPrincipalInfo

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

Syntax

'宣告
Public NotInheritable Class SPPrincipalInfo
'用途
Dim instance As SPPrincipalInfo
public sealed class SPPrincipalInfo

備註

使用SPPrincipal物件,代表主體。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPPrincipalInfo members

Microsoft.SharePoint.Utilities namespace