Policy Policy Policy Class

定义

表示组和用户以及他们与 SharePoint 库中的项关联的角色。 Represents groups and users and their roles, which are associated with items in a SharePoint library.

public ref class Policy
public class Policy
Public Class Policy
继承
PolicyPolicyPolicy

注解

APolicy对象将作为输出返回GetPolicies方法并传递作为输入SetPolicies方法。A Policy object is returned as output by the GetPolicies method and is passed as input to the SetPolicies method.

构造函数

Policy() Policy() Policy()

初始化 Policy 类的新实例。 Initializes a new instance of the Policy class.

属性

GroupUserName GroupUserName GroupUserName

获取或设置组或用户的名称。 Gets or sets the name of a group or user.

Roles Roles Roles

获取或设置与组或用户关联的角色。 Gets or sets the roles associated with the group or user.

适用于