Class DefaultAuthorizationRule
Represents the default authorization rule system settings.
Inheritance
DefaultAuthorizationRule
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public class DefaultAuthorizationRule : IExtensibleDataObject, IEquatable<DefaultAuthorizationRule>
Constructors
DefaultAuthorizationRule()
Declaration
public DefaultAuthorizationRule()
Properties
Action
Gets or sets the authorization rule action. The default value is
Permit.
Declaration
[DataMember]
public AuthorizationRuleAction Action { get; set; }
Property Value
ExtensionData
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
FolderId
Gets or sets the authorization rule's folder id.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? FolderId { get; set; }
Property Value
Id
Gets or sets the authorization rule id.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? Id { get; set; }
Property Value
IsGroup
Gets or sets a flag that indicates whether this is
an authorization rule or group.
Declaration
[DataMember]
public bool? IsGroup { get; set; }
Property Value
Key
Gets or sets the authorization rule key.
Declaration
[DataMember]
public Guid Key { get; set; }
Property Value
Name
Gets or sets the authorization rule name.
Declaration
[DataMember(EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
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
[DataMember]
public int Priority { get; set; }
Property Value
Methods
Equals(DefaultAuthorizationRule)
Declaration
public bool Equals(DefaultAuthorizationRule other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements