Class ObjectPermission
Represents the object permission.
Inheritance
Inherited Members
Namespace: Relativity.Testing.Framework.Models
Assembly: Relativity.Testing.Framework.dll
Syntax
public class ObjectPermission
Properties
| Improve this Doc View SourceAddEditable
Gets or sets a value indicating whether the "Add" permission is editable.
Declaration
public bool AddEditable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AddSelected
Gets or sets a value indicating whether the "Add" permission is selected.
Declaration
public bool AddSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ArtifactGroupingID
Gets or sets the artifact grouping ID.
Declaration
public int ArtifactGroupingID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ArtifactTypeID
Gets or sets the artifact type ID.
Declaration
public int ArtifactTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CanRemovePermissions
Gets or sets a value indicating whether all permissions can be removed.
Declaration
public bool CanRemovePermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CustomPermissions
Gets or sets the custom permissions.
Declaration
public List<PermissionDetail> CustomPermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PermissionDetail> |
DeleteEditable
Gets or sets a value indicating whether the "Delete" permission is editable.
Declaration
public bool DeleteEditable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DeleteSelected
Gets or sets a value indicating whether the "Delete" permission is selected.
Declaration
public bool DeleteSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EditEditable
Gets or sets a value indicating whether the "Edit" permission is editable.
Declaration
public bool EditEditable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EditSecurityEditable
Gets or sets a value indicating whether the "Edit Security" permission is editable.
Declaration
public bool EditSecurityEditable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EditSecuritySelected
Gets or sets a value indicating whether the "Edit Security" permission is selected.
Declaration
public bool EditSecuritySelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EditSelected
Gets or sets a value indicating whether the "Edit" permission is selected.
Declaration
public bool EditSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasChildPermissions
Gets or sets a value indicating whether there are child permissions.
Declaration
public bool HasChildPermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HierarchyIndent
Gets or sets the current indent of this permission hierarchy.
Declaration
public int HierarchyIndent { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentArtifactTypeID
Gets or sets the parent artifact type ID.
Declaration
public int ParentArtifactTypeID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubPermissions
Gets or sets the sub-permissions.
Declaration
public List<PermissionDetail> SubPermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PermissionDetail> |
ViewSelected
Gets or sets a value indicating whether the "View" permission is selected.
Declaration
public bool ViewSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceSet(ObjectPermissionKinds)
Sets the specified object permission kind.
Declaration
public void Set(ObjectPermissionKinds kind)
Parameters
Type | Name | Description |
---|---|---|
ObjectPermissionKinds | kind | The kind of object permission. |