Class DefaultAuthorizationRule
Represents the default authorization rule system settings.
Inheritance
System.Object
DefaultAuthorizationRule
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<DefaultAuthorizationRule>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public class DefaultAuthorizationRule : IExtensibleDataObject, IEquatable<DefaultAuthorizationRule>
Constructors
DefaultAuthorizationRule()
Initializes a new instance of the DefaultAuthorizationRule.
Declaration
public DefaultAuthorizationRule()
Properties
Action
Gets or sets the authorization rule action. The default value is Permit.
Declaration
public AuthorizationRuleAction Action { get; set; }
Property Value
Type | Description |
---|---|
AuthorizationRuleAction |
ExtensionData
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.Serialization.ExtensionDataObject |
FolderId
Gets or sets the authorization rule's folder id.
Declaration
public int? FolderId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Id
Gets or sets the authorization rule id.
Declaration
public int? Id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
IsGroup
Gets or sets a flag that indicates whether this is an authorization rule or group.
Declaration
public bool? IsGroup { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Key
Gets or sets the authorization rule key.
Declaration
public Guid Key { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Name
Gets or sets the authorization rule name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Priority
Gets or sets rule priority that dictates the order in which rules are executed for particular service. Rule with higher priority is executed first.
Declaration
public int Priority { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Equals(DefaultAuthorizationRule)
Declaration
public bool Equals(DefaultAuthorizationRule other)
Parameters
Type | Name | Description |
---|---|---|
DefaultAuthorizationRule | other |
Returns
Type | Description |
---|---|
System.Boolean |
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()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<T>