Share via


SPPrincipalInfo Class

Provides access to information about the current principal.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Utilities.SPPrincipalInfo

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

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPPrincipalInfo

Dim instance As SPPrincipalInfo
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPPrincipalInfo

Remarks

Use the SPPrincipal object to represent the principal.

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.

See Also

Reference

SPPrincipalInfo Members

Microsoft.SharePoint.Utilities Namespace