Show / Hide Table of Contents

Class ObjectPermissionChangeset

Represents the changeset of object permission.

Inheritance
System.Object
ObjectPermissionChangeset
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 ObjectPermissionChangeset

Properties

| Improve this Doc View Source

CustomPermissions

Gets the changeset of custom permissions.

Declaration
public PermissionDetailsChangeset CustomPermissions { get; }
Property Value
Type Description
PermissionDetailsChangeset
| Improve this Doc View Source

SubPermissions

Gets the changeset of sub-permissions.

Declaration
public PermissionDetailsChangeset SubPermissions { get; }
Property Value
Type Description
PermissionDetailsChangeset

Methods

| Improve this Doc View Source

DisableAll()

Disables all permissions.

Declaration
public GroupPermissionsChangeset DisableAll()
Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

Do(Action<ObjectPermissionChangeset>)

Executes the specified action that can modify the permission changeset.

Declaration
public GroupPermissionsChangeset Do(Action<ObjectPermissionChangeset> action)
Parameters
Type Name Description
System.Action<ObjectPermissionChangeset> action

The action.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

EnableAll()

Enables all permissions.

Declaration
public GroupPermissionsChangeset EnableAll()
Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

Set(ObjectPermissionKinds)

Sets the specified object permission kind.

Declaration
public GroupPermissionsChangeset Set(ObjectPermissionKinds kind)
Parameters
Type Name Description
ObjectPermissionKinds kind

The kind of object permission.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

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