Show / Hide Table of Contents

Class PermissionDefinition

Definition of a permission.

Inheritance
System.Object
PermissionDefinition
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.String context

The name permissions context.

System.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
System.Boolean
View Source

Context

Name of the permission context.

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

ElectronicSignatureActivated

Indicates whether electronic signature is activated for this permission.

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

Task

Gets or sets the permission task.

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

Methods

View Source

Equals(PermissionDefinition)

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

Equals(Object)

Determines whether the specified System.Object is equal to the current System.Object.

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

The object to compare with the current object.

Returns
Type Description
System.Boolean

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

Overrides
System.Object.Equals(System.Object)
View Source

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current System.Object.

Overrides
System.Object.GetHashCode()

Extension Methods

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