Role Class

Represents a role for use in Reporting Services security. 

Inheritance Hierarchy

System.Object
  ReportService2006.Role

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

Syntax

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

The Role type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Description Gets or sets the description of the role.
Public property Name Gets or sets the name of the role.

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 Role object is returned as output by the ListRoles method.

Use the Role class together with the Roles property of the Policy class.

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