Show / Hide Table of Contents

Class PermissionDefinition

Definition of a permission.

Inheritance
object
PermissionDefinition
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Security
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public class PermissionDefinition

Constructors

View Source

PermissionDefinition(string, string)

Initializes a new instance of the PermissionDefinition class.

Declaration
public PermissionDefinition(string context, string task)
Parameters
Type Name Description
string context

The name permissions context.

string task

The name of the permissions task.

Properties

View Source

AuditTrailActivated

Indicates whether audit trail is activated for this permission.

Declaration
public bool AuditTrailActivated { get; }
Property Value
Type Description
bool
View Source

Context

Name of the permission context.

Declaration
public string Context { get; }
Property Value
Type Description
string
View Source

ElectronicSignatureActivated

Indicates whether electronic signature is activated for this permission.

Declaration
public bool ElectronicSignatureActivated { get; }
Property Value
Type Description
bool
View Source

Task

Gets or sets the permission task.

Declaration
public string Task { get; }
Property Value
Type Description
string

Methods

View Source

Equals(PermissionDefinition)

Declaration
protected bool Equals(PermissionDefinition other)
Parameters
Type Name Description
PermissionDefinition other
Returns
Type Description
bool
View Source

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
View Source

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX