Class AuthorizationGroupDefinition
Represents an authorization group definition. This class allow to create, update, or delete all related entities (properties) with a single service call.
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.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AuthorizationGroupDefinition : AuthorizationGroup, IValidator, IExtensibleDataObject, IFolderEntity, IEquatable<AuthorizationGroup>
Constructors
AuthorizationGroupDefinition()
Instantiates an empty authorization group definition.
Declaration
public AuthorizationGroupDefinition()
AuthorizationGroupDefinition(AuthorizationGroup)
Initializes new instance from provided authorization group entity.
Declaration
public AuthorizationGroupDefinition(AuthorizationGroup group)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationGroup | group | Authorization group to be initialized from. |
Properties
Members
Gets collection of authorization rules and groups included in the group.
Declaration
public Collection<AuthorizationGroupMember> Members { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<AuthorizationGroupMember> |
Properties
Gets collection of general properties assigned to the group.
Declaration
public Collection<Property> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<Property> |
Methods
CopyFrom(AuthorizationGroup)
Populates current instance from provided authorization group entity.
Declaration
public void CopyFrom(AuthorizationGroup group)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationGroup | group | Authorization group to be initialized from. |
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |
Overrides
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<T>