Delen via


Policy Class

Represents groups and users and their roles, which are associated with items in a SharePoint library.

Inheritance Hierarchy

System.Object
  ReportService2006.Policy

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class Policy
'Usage
Dim instance As Policy
[SerializableAttribute]
public class Policy
[SerializableAttribute]
public ref class Policy
[<SerializableAttribute>]
type Policy =  class end
public class Policy

The Policy type exposes the following members.

Constructors

  Name Description
Public method Policy Initializes a new instance of the Policy class.

Top

Properties

  Name Description
Public property GroupUserName Gets or sets the name of a group or user.
Public property Roles Gets or sets the roles associated with the group or user.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

A Policy object is returned as output by the GetPolicies method and is passed as input to the SetPolicies method.

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