Show / Hide Table of Contents

Class GenericPermission

Represents the generic permission.

Inheritance
System.Object
GenericPermission
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Models
Assembly: Relativity.Testing.Framework.dll
Syntax
public class GenericPermission

Properties

| Improve this Doc View Source

Children

Gets or sets the child permissions.

Declaration
public List<GenericPermission> Children { get; set; }
Property Value
Type Description
System.Collections.Generic.List<GenericPermission>
| Improve this Doc View Source

Editable

Gets or sets a value indicating whether this permission is editable.

Declaration
public bool Editable { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Selected

Gets or sets a value indicating whether this permission is selected.

Declaration
public bool Selected { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Value

Gets or sets the value (artifact ID).

Declaration
public int Value { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Disable()

Disables this permission.

Declaration
public void Disable()
| Improve this Doc View Source

DisableAll()

Disables this permission and all its child permissions.

Declaration
public void DisableAll()
| Improve this Doc View Source

Enable()

Enables this permission.

Declaration
public void Enable()
| Improve this Doc View Source

EnableAll()

Enables this permission and all its child permissions.

Declaration
public void EnableAll()
| Improve this Doc View Source

EnableWith(IEnumerable<String>)

Enables this permission and all its child permissions with particular names.

Declaration
public void EnableWith(IEnumerable<string> childPermissionNames)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> childPermissionNames

The child permission names.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX