Partilhar via


Principal Class

Represents a user or group that can be assigned permissions to control security.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.Principal
      Microsoft.SharePoint.Client.Group
      Microsoft.SharePoint.Client.User

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("SP.Principal", ServerTypeId := "{8a76e712-17a1-4a40-b2df-cca7c060d78f}")> _
Public Class Principal _
    Inherits ClientObject
'Usage
Dim instance As Principal
[ScriptTypeAttribute("SP.Principal", ServerTypeId = "{8a76e712-17a1-4a40-b2df-cca7c060d78f}")]
public class Principal : ClientObject

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

Principal Members

Microsoft.SharePoint.Client Namespace