Back to Devexpress

SecuritySystem Members

expressappframework-devexpress-dot-expressapp-dot-securitysystem-dot-underscore-members.md

latest5.5 KB
Original Source

SecuritySystem Members

The static class that defines the XAF security system.

Properties

NameDescription
CurrentUser staticGets the user who is currently logged on.
CurrentUserId staticGets the unique identifier of the current user.
CurrentUserName staticGets the login name of the current user.
Instance staticGets the instance of the Security Strategy.
IsAuthenticated staticGets a boolean value indicating that a user is authenticated.
IsLogoffEnabled staticGets a boolean value indicating that a user can log off and then logon again without restarting the application.
LogonObjectSpace staticGets the Object Space used when logging on.
LogonParameters staticGets the logon parameters object.
UserType staticGets the type of user objects

Methods

NameDescription
Demand(IPermissionRequest) staticThrows a SecurityException exception when the current user is allowed to execute a particular secured operation.
Equals(Object, Object) staticDetermines 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) staticChecks whether or not the specified permission is granted to the current user.
IsGranted(IPermissionRequest) staticChecks whether or not the current user is allowed to execute the specified secured operation.
IsGrantedNavigate(String, Type, Object, IObjectSpace) staticChecks whether or not the specified navigation permission is granted to the current user.
Logon(IObjectSpace) staticPerforms the logon.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
SetInstance(ISecurityStrategyBase) staticInitializes the Security System.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
CustomIsGranted staticOccurs when the PermissionRequest instance is passed to the SecuritySystem.IsGranted method.

See Also

SecuritySystem Class

DevExpress.ExpressApp Namespace