Show / Hide Table of Contents

Class PermissionDetailsChangeset

Represents the changeset of permission details.

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

Methods

| Improve this Doc View Source

Disable(IEnumerable<String>)

Disables the permissions with the specified names.

Declaration
public GroupPermissionsChangeset Disable(IEnumerable<string> names)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> names

The permission names.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

Disable(String[])

Disables the permissions with the specified names.

Declaration
public GroupPermissionsChangeset Disable(params string[] names)
Parameters
Type Name Description
System.String[] names

The permission names.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| 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

Enable(IEnumerable<String>)

Enables the permissions with the specified names.

Declaration
public GroupPermissionsChangeset Enable(IEnumerable<string> names)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> names

The permission names.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

Enable(String[])

Enables the permissions with the specified names.

Declaration
public GroupPermissionsChangeset Enable(params string[] names)
Parameters
Type Name Description
System.String[] names

The permission names.

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

SetAll(Boolean)

Sets the specified selected state to all permissions.

Declaration
public GroupPermissionsChangeset SetAll(bool selected)
Parameters
Type Name Description
System.Boolean selected

Whether to select permissions.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

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