Class SecurityRoleAssignment

Inheritance
System.Object
SecurityRoleAssignment
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Security
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public abstract class SecurityRoleAssignment : ICloneable

Constructors

SecurityRoleAssignment()

Declaration
protected SecurityRoleAssignment()

Properties

CheckMode

Declaration
public SecurityCheckMode? CheckMode { get; set; }
Property Value
Type Description
System.Nullable<SecurityCheckMode>

IsOnlyForOwner

Declaration
public bool IsOnlyForOwner { get; set; }
Property Value
Type Description
System.Boolean

Principal

Declaration
public Principal Principal { get; set; }
Property Value
Type Description
Principal

RoleName

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

Scope

Declaration
public SecurityScope Scope { get; set; }
Property Value
Type Description
SecurityScope

Methods

Clone()

Declaration
public virtual object Clone()
Returns
Type Description
System.Object

CreateInstance()

Declaration
protected abstract SecurityRoleAssignment CreateInstance()
Returns
Type Description
SecurityRoleAssignment

Equals(Object)

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

GetHashCode()

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

Operators

Equality(SecurityRoleAssignment, SecurityRoleAssignment)

Declaration
public static bool operator ==(SecurityRoleAssignment x, SecurityRoleAssignment y)
Parameters
Type Name Description
SecurityRoleAssignment x
SecurityRoleAssignment y
Returns
Type Description
System.Boolean

Inequality(SecurityRoleAssignment, SecurityRoleAssignment)

Declaration
public static bool operator !=(SecurityRoleAssignment x, SecurityRoleAssignment y)
Parameters
Type Name Description
SecurityRoleAssignment x
SecurityRoleAssignment y
Returns
Type Description
System.Boolean

Implements

System.ICloneable