PermissionPolicyRoleBase Members

The base class for a security role that supports the Allow/Deny Permission Policies.

Constructors

Name Description
PermissionPolicyRoleBase(Session)

Initializes a new instance of the PermissionPolicyRoleBase class in a particular Session

Fields

Name Description
AutoSaveOnEndEdit Specifies whether changes in a persistent object are automatically committed to a database after you have finished editing the object in a bound control. To learn more, refer to How to: Control Automatic Saving of Objects when Editing in a Grid and How to: Prevent Changes in a Persistent Object from being Automatically Committed.
(Inherited from XPBaseObject)
IsXpoProfiling

Set this field to true before profiling the application via XPO Profiler.

(Inherited from BaseObject)

Properties

Name Description
CanEditModel

Specifies whether users associated with the current role can use the Model Editor. A DevExpress.Xpo.Session object, which is a persistent objects cache where the user will be instantiated.

ClassInfo Gets a value that provides access to the metadata information of a class gathered via Reflection.
(Inherited from PersistentBase)
Fields Gets an object that contains field identifiers for Simplified Criteria Syntax.
(Inherited from PersistentBase)
IsAdministrative

Specifies whether users associated with the current role are administrators.

IsDeleted Indicates whether the current persistent object is marked as deleted.
(Inherited from PersistentBase)
IsLoading Indicates whether the object is currently being initialized.
(Inherited from PersistentBase)
Loading Obsolete. Gets whether the object is currently being initialized.
(Inherited from XPBaseObject)
Name

Specifies the name of the security role.

NavigationPermissions

Gets the list of objects which contain navigation permissions associated with the current PermissionPolicyRoleBase.

Oid

Specifies the persistent object's identifier.

(Inherited from BaseObject)
OidInitializationMode

Specifies when a new GUID value is assigned to the BaseObject.Oid property.

(Inherited from BaseObject)
PermissionPolicy

Specifies the Security System behavior when there are no explicitly specified permissions for a specific type, object or member.

Session Gets the session used to load and save persistent objects.
(Inherited from PersistentBase)
This Refers to the current instance.
(Inherited from XPBaseObject)
TypePermissions

Gets the list of objects which contain type permissions associated with the current PermissionPolicyRoleBase.

Methods

Name Description
AddChangedEventHandler(Object, IObjectChange) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
(Inherited from XPBaseObject)
AddChangedEventHandler(Object, ObjectChangeEventHandler) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
(Inherited from XPBaseObject)
AfterConstruction()

Invoked when the current object is about to be initialized after its creation.

(Inherited from BaseObject)
CreateNavigationPermissionObject(String)
CreateTypePermissionObject(Type)
Delete() Deletes the persistent object and its aggregated objects from persistent storage.
(Inherited from XPBaseObject)
Equals(Object) Determines whether the current object has the same settings as the specified object.
(Inherited from PersistentBase)
Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
Evaluate(CriteriaOperator) Evaluates the specified expression against the current instance of the persistent object.
(Inherited from XPBaseObject)
Evaluate(String) Evaluates the specified string expression against the current instance of the persistent object.
(Inherited from XPBaseObject)
EvaluateAlias(String) Evaluates an expression specified by the PersistentAliasAttribute attribute for the specified property.
(Inherited from XPBaseObject)
Fit(CriteriaOperator) Checks whether the current instance matches the specified criteria.
(Inherited from XPBaseObject)
Fit(String) Checks whether the current instance matches the specified criteria.
(Inherited from XPBaseObject)
GetCustomPropertyStore(Object) This member supports the internal infrastructure and isn't intended to be used directly from your code.
(Inherited from PersistentBase)
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current PersistentBase object.
(Inherited from PersistentBase)
GetMemberValue(String) Returns the value of the specified property.
(Inherited from XPBaseObject)
GetModificationsStore(Object) Returns an object that stores information about the modified properties when the Session.TrackPropertiesModifications option is enabled.
(Inherited from PersistentBase)
GetType() Gets the of the current instance.
(Inherited from Object)
MemberwiseClone() Creates a shallow copy of the current .
(Inherited from Object)
RaiseChangedEvent(Object, ObjectChangeEventArgs) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
(Inherited from XPBaseObject)
ReferenceEquals(Object, Object) Determines whether the specified instances are the same instance.
(Inherited from Object)
Reload() Reloads the state of the specified persistent object from the data store.
(Inherited from XPBaseObject)
RemoveChangedEventHandler(Object, IObjectChange) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
(Inherited from XPBaseObject)
RemoveChangedEventHandler(Object, ObjectChangeEventHandler) This member supports the .NET Framework infrastructure and cannot be used directly from your code.
(Inherited from XPBaseObject)
Save() Saves the object to the data store.
(Inherited from XPBaseObject)
SetMemberValue(String, Object) Sets the value of the specified property.
(Inherited from XPBaseObject)
ToString()

Returns a human-readable string that represents the current business object.

(Inherited from BaseObject)

Events

Name Description
Changed Occurs when a property of the object is changed.
(Inherited from XPBaseObject)
See Also