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
ThreePartIdentifier(string, string, string)
Combination of values that form a unique identifier.
public ThreePartIdentifier(string key, string name, string subName)
Parameters
key
stringIdentity key value
name
stringName of type that is affected by permission
subName
stringName 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.
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
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.