November Happy Hour will be moved to Thursday December 5th.

Class SecurityPermission

SecurityPermission

Inheritance
System.Object
SecurityPermission
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: 12.17.2
Syntax
public class SecurityPermission : ICloneable

Constructors

SecurityPermission(String)

Initializes a new instance of the SecurityPermission class.

Declaration
public SecurityPermission(string permissionName)
Parameters
Type Name Description
System.String permissionName

Name of the permission.

Properties

PermissionName

Gets or sets the name of the permission.

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

The name of the permission.

Methods

Clone()

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

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 System.Object to compare with the current System.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)

GetHashCode()

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

Operators

Equality(SecurityPermission, SecurityPermission)

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

Inequality(SecurityPermission, SecurityPermission)

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

Implements

System.ICloneable