Skip to main content
A newer version of this page is available. .

SecuritySystem Methods

The static class that defines the XAF security system.
Name Description
AddPermissionAuditor(IPermissionAuditor) static Registers the specified permission auditor.
Demand(IPermissionRequest) static Throws a SecurityException exception when the current user is allowed to execute a particular secured operation.
Demand(IPermission) static Throws a SecurityException exception if the specified permission is not granted to the current user.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsGranted(IObjectSpace, Type, String, Object, String) static Checks whether or not the specified permission is granted to the current user.
IsGranted(IPermissionRequest) static Checks whether or not the current user is allowed to execute the specified secured operation.
IsGranted(IPermission) static Checks whether or not the specified permission is granted to the current user.
IsGrantedNavigate(String, Type, Object, IObjectSpace) static Checks whether or not the specified navigation permission is granted to the current user.
Logon(IObjectSpace) static Performs the logon.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ReloadPermissions() static For internal use.
SetInstance(ISecurityStrategyBase) static Initializes the Security System.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also