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 GenericPermissionProperties
| Improve this Doc View SourceChildren
Gets or sets the child permissions.
Declaration
public List<GenericPermission> Children { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<GenericPermission> | 
Editable
Gets or sets a value indicating whether this permission is editable.
Declaration
public bool Editable { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Name
Gets or sets the name.
Declaration
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Selected
Gets or sets a value indicating whether this permission is selected.
Declaration
public bool Selected { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
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 SourceDisable()
Disables this permission.
Declaration
public void Disable()DisableAll()
Disables this permission and all its child permissions.
Declaration
public void DisableAll()Enable()
Enables this permission.
Declaration
public void Enable()EnableAll()
Enables this permission and all its child permissions.
Declaration
public void EnableAll()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. |