Principal 类

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

继承层次结构

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Class Principal _
    Inherits ClientObject
用法
Dim instance As Principal
public class Principal : ClientObject

备注

When a user or group is added to a site, the user or group is the principal. The Principal object can represent one of the following types of users or groups:

  • Windows user

  • Windows group

  • Non-Windows user (provided through ASP.NET membership provider)

  • Non-Windows group (provided through ASP.NET roles provider)

  • SharePoint groups

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

Principal 成员

Microsoft.SharePoint.Client 命名空间