Policy 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
type Policy = class
Public Class Policy
继承
PolicyPolicyPolicyPolicy

注解

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

构造函数

Policy() Policy() Policy() Policy()

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

属性

GroupUserName GroupUserName GroupUserName GroupUserName

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

Roles Roles Roles Roles

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

适用于