Provides for checking security for accessing data entities.
| C# |
public class Security
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Security(Database) |
Creates a new instance.
| |
| CreateCommand()()() |
Creates the database SELECT command for determining effective permissions.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetRights(String, Guid, String, SecurityGrantedCallback, Control, SecurityCheckBehavior, array<Object>[]()[]) |
Determines user permissions for an entity, either synchronously or asynchronously.
Calls to this method will complete within a timeout period and return a security rights object.
If the security check completed, the object will contain the allowed permissions; if not it
will contain an empty permission set (IsEmpty will be true),
which will be filled when the security check is completed. In either case, the callback method
will be called when the check is completed.
| |
| GetRights(String, Guid, String) |
Determines user permissions for an entity.
| |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SecurityCheckFormatString |
Gets the default format string that can be used to indicate that a security check is in progress.
| |
| SecurityDeniedToolTip |
Gets the default string that can be used in a tooltip to indicate that security was denied for a particular operation.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| Security | |