Class AuthorizationGroupMember
Represents an authorization rule or another authorization group included in the authorization group.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class AuthorizationGroupMember : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<AuthorizationGroupMember>
Constructors
AuthorizationGroupMember()
Initializes and empty object.
Declaration
public AuthorizationGroupMember()
Properties
GroupId
Gets or sets the parent authorization group identifier.
Declaration
[DataMember]
public int GroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsEnabled
Gets the flag indicating that referenced rule or group is enabled.
Declaration
[DataMember]
public bool IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MemberGroupId
Gets or sets the authorization group identifier that belongs to this group.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? MemberGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MemberGroupName
Gets the authorization group name.
Declaration
[DataMember(EmitDefaultValue = false)]
public string MemberGroupName { get; }
Property Value
| Type | Description |
|---|---|
| string |
MemberRuleExpression
Gets the authorization rule expression.
Declaration
[DataMember(EmitDefaultValue = false)]
public AuthorizationExpressionBase MemberRuleExpression { get; }
Property Value
| Type | Description |
|---|---|
| AuthorizationExpressionBase |
MemberRuleId
Gets or sets the authorization rule identifier that belongs to this group.
Declaration
[DataMember(EmitDefaultValue = false)]
public int? MemberRuleId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MemberRuleName
Gets the authorization rule name.
Declaration
[DataMember(EmitDefaultValue = false)]
public string MemberRuleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
| Type | Description |
|---|---|
| EntityType |
Overrides
Priority
Gets or sets the order in which rules and other groups are executed within this group. Member with higher priority is executed first.
Declaration
[DataMember]
public int Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Equals(AuthorizationGroupMember)
Determines whether the specified domain object is equal to the current object.
Declaration
public bool Equals(AuthorizationGroupMember other)
Parameters
| Type | Name | Description |
|---|---|---|
| AuthorizationGroupMember | other | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | True, if objects are equal. False, if objects are not equal. |
Equals(object)
Determines whether the specified domain object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code of the current instance. |
Overrides
ToString()
Returns string representation of the object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String representation of the object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |