DataPlace
PermissionsManager Class
CSCS.DataPlace.Common.SecurityPermissionsManager
Manages security for an entity defined by a table name and row GUID. This class is used by a PermissionsEditor and performs the required data access.
Declaration Syntax
C#
public class PermissionsManager : Component
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
PermissionsManager(String, Guid)
Creates a new instance.

AddNewAlias(String, Boolean)
Adds an alias to the security membership for the entity (unless it's already there).

AliasRoleInfos
Gets a mapping of aliases and their roles.

BindToAliasList(ListControl, Boolean)
Fills a ListControl with users or groups by setting the DataSource, DataMember, and ValueMember properties.

CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Database
Gets the database.

DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Dispose(Boolean)
Clean up any resources being used.
(Overrides Component.Dispose(Boolean).)
Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
EntityGuid
Gets the entity's row GUID.

EntityName
Gets the entity's friendly name.

EntityTableName
Gets the entity's table name.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InheritedEntityName
The name of the ancestor from which the entity's security is inherited.

Init(Database)
Establishes the target database.

Initialized
Gets whether the component is ready for use.

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsEntityRoot
Gets whether the entity represents the system/global entity.

LoadData()()()
Loads data from the database. This method should be called before accessing members of this class, and also after any call to SaveChanges()()() if the component will be used again.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveAlias(String)
Removes an alias from the security membership for the entity (if it's there).

RoleList
Gets a list of the available role names.

SaveChanges()()()
Updates changes to the database since the last call to LoadData()()(). LoadData should be called before calling this method again.

SecurityInherited
Gets or sets whether the entity's security is inherited (true) or defined on the entity itself (false).

SetAliasRoleMembership(String, String, Boolean)
Adds or removes an alias's role assignment.

ShowPermissionsEditor(Form, String, Guid)
Shows the permissions dialog for an entity in the current target database.

ShowPermissionsEditor(Form, Database, String, Guid)
Shows the security permissions dialog for an entity in a specified target database.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
ToString()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Inheritance Hierarchy
Object
MarshalByRefObject
 Component
  PermissionsManager

Assembly: CS.DataPlace.Common (Module: CS.DataPlace.Common) Version: 2.0.3271.19817