Class AuthorizationGroupMember
Represents an authorization rule or another authorization group included in the authorization group.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
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
public int GroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MemberGroupId
Gets or sets the authorization group identifier that belongs to this group.
Declaration
public int? MemberGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MemberGroupName
Gets the authorization group name.
Declaration
public string MemberGroupName { get; }
Property Value
Type | Description |
---|---|
System.String |
MemberRuleExpression
Gets the authorization rule expression.
Declaration
public AuthorizationExpressionBase MemberRuleExpression { get; }
Property Value
Type | Description |
---|---|
AuthorizationExpressionBase |
MemberRuleId
Gets or sets the authorization rule identifier that belongs to this group.
Declaration
public int? MemberRuleId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MemberRuleName
Gets the authorization rule name.
Declaration
public string MemberRuleName { get; }
Property Value
Type | Description |
---|---|
System.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
public int Priority { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 |
---|---|
System.Boolean | 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 |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | 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 |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |