Table of Contents

Class ThreePartIdentifier

Namespace
Dynamicweb.Core
Assembly
Dynamicweb.Core.dll

A permission identifier is a unique identifier for "something" that has a permission level.

public class ThreePartIdentifier
Inheritance
ThreePartIdentifier
Inherited Members

Remarks

Immutable

Constructors

ThreePartIdentifier(string, string)

Combination of values that form a unique identifier.

public ThreePartIdentifier(string key, string name)

Parameters

key string

Identity key value

name string

Name of type that is affected by permission

ThreePartIdentifier(string, string, string)

Combination of values that form a unique identifier.

public ThreePartIdentifier(string key, string name, string subName)

Parameters

key string

Identity key value

name string

Name of type that is affected by permission

subName string

Name of derived information related to the type targeted by Name

Properties

Key

Identifier associated with "something" that can get a permission.

public string Key { get; }

Property Value

string

key

Name

Name of type that is affected by permission.

public string Name { get; }

Property Value

string

name

Examples

"Page", "Paragraph", "Item", "MyOwnCustomType" etc.

SubName

Name of derived information related to the type targeted by Name. Name="Page", SubName="Sort" gives permissions for the Sort field

public string SubName { get; }

Property Value

string

subName

Methods

Equals(object?)

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

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

To top