DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Static Public Member Functions | |
static void | CreateUserGroup (this IQuery query, string groupName) |
static User | GetUser (this IQuery query, string userName) |
static void | SetUserStatus (this IQuery queryContext, string username, UserStatus status) |
static UserStatus | GetUserStatus (this IQuery queryContext, string userName) |
static void | SetUserGroups (this IQuery query, string userName, string[] groups) |
static bool | UserExists (this IQuery query, string userName) |
static void | CreatePublicUser (this IQuery query) |
static User | CreateUser (this IQuery query, string userName, string password) |
static void | AlterUserPassword (this IQuery queryContext, string username, string password) |
static bool | DeleteUser (this IQuery query, string userName) |
static User | Authenticate (this IQuery queryContext, string username, string password) |
Authenticates the specified user using the provided credentials. More... | |
static void | AddUserToGroup (this IQuery queryContext, string username, string group, bool asAdmin=false) |
static void | GrantToUserOn (this IQuery query, ObjectName objectName, string grantee, Privileges privileges, bool withOption=false) |
static void | GrantToUserOn (this IQuery query, DbObjectType objectType, ObjectName objectName, string grantee, Privileges privileges, bool withOption=false) |
static void | GrantToUserOnSchema (this IQuery query, string schemaName, string grantee, Privileges privileges, bool withOption=false) |
static void | GrantToGroupOn (this IQuery query, DbObjectType objectType, ObjectName objectName, string groupName, Privileges privileges, bool withOption=false) |
static void | GrantTo (this IQuery query, string groupOrUserName, DbObjectType objectType, ObjectName objectName, Privileges privileges, bool withOption=false) |
static void | RevokeAllGrantsOnTable (this IQuery query, ObjectName objectName) |
static void | RevokeAllGrantsOnView (this IQuery query, ObjectName objectName) |
static void | RevokeAllGrantsOn (this IQuery query, DbObjectType objectType, ObjectName objectName) |
static void | GrantToUserOnTable (this IQuery query, ObjectName tableName, string grantee, Privileges privileges) |
static string[] | GetGroupsUserBelongsTo (this IQuery queryContext, string username) |
static bool | UserBelongsToGroup (this IQuery queryContext, string group) |
static bool | UserBelongsToGroup (this IQuery query, string username, string groupName) |
static bool | UserCanManageGroups (this IQuery query) |
static bool | UserHasSecureAccess (this IQuery query) |
static bool | UserBelongsToSecureGroup (this IQuery query) |
static bool | UserHasGrantOption (this IQuery query, DbObjectType objectType, ObjectName objectName, Privileges privileges) |
static bool | UserHasPrivilege (this IQuery query, DbObjectType objectType, ObjectName objectName, Privileges privileges) |
static bool | UserCanCreateUsers (this IQuery query) |
static bool | UserCanDropUser (this IQuery query, string userToDrop) |
static bool | UserCanAlterUser (this IQuery query, string userName) |
static bool | UserCanManageUsers (this IQuery query) |
static bool | UserCanAccessUsers (this IQuery query) |
static bool | UserHasTablePrivilege (this IQuery query, ObjectName tableName, Privileges privileges) |
static bool | UserHasSchemaPrivilege (this IQuery query, string schemaName, Privileges privileges) |
static bool | UserCanCreateSchema (this IQuery query) |
static bool | UserCanCreateInSchema (this IQuery query, string schemaName) |
static bool | UserCanCreateTable (this IQuery query, ObjectName tableName) |
static bool | UserCanAlterInSchema (this IQuery query, string schemaName) |
static bool | UserCanAlterTable (this IQuery query, ObjectName tableName) |
static bool | UserCanSelectFromTable (this IQuery query, ObjectName tableName) |
static bool | UserCanReferenceTable (this IQuery query, ObjectName tableName) |
static bool | UserCanSelectFromPlan (this IQuery query, IQueryPlanNode queryPlan) |
static bool | UserCanSelectFromTable (this IQuery query, ObjectName tableName, params string[] columnNames) |
static bool | UserCanUpdateTable (this IQuery query, ObjectName tableName, params string[] columnNames) |
static bool | UserCanInsertIntoTable (this IQuery query, ObjectName tableName, params string[] columnNames) |
static bool | UserCanExecute (this IQuery query, RoutineType routineType, Invoke invoke) |
static bool | UserCanExecuteFunction (this IQuery query, Invoke invoke) |
static bool | UserCanExecuteProcedure (this IQuery query, Invoke invoke) |
static bool | UserCanCreateObject (this IQuery query, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanDropObject (this IQuery query, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanAlterObject (this IQuery query, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanAccessObject (this IQuery query, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanDeleteFromTable (this IQuery query, ObjectName tableName) |
static bool | UserCanAddToGroup (this IQuery query, string groupName) |
Static Private Member Functions | |
static IUserManager | UserManager (this IQuery query) |
static IPrivilegeManager | PrivilegeManager (this IQuery query) |
Definition at line 28 of file Query.Security.cs.
|
inlinestatic |
Definition at line 209 of file Query.Security.cs.
|
inlinestatic |
Definition at line 141 of file Query.Security.cs.
|
inlinestatic |
Authenticates the specified user using the provided credentials.
queryContext | The query query. |
username | The name of the user to authenticate. |
password | The password used to authenticate the user. |
System.ArgumentNullException | If either username or password are null or empty. |
SecurityException | If the authentication was not successful for the credentials provided. |
System.NotImplementedException | The external authentication mechanism is not implemented yet |
Definition at line 176 of file Query.Security.cs.
|
inlinestatic |
Definition at line 98 of file Query.Security.cs.
|
inlinestatic |
Definition at line 109 of file Query.Security.cs.
|
inlinestatic |
Definition at line 37 of file Query.Security.cs.
|
inlinestatic |
Definition at line 151 of file Query.Security.cs.
|
inlinestatic |
Definition at line 308 of file Query.Security.cs.
Definition at line 46 of file Query.Security.cs.
|
inlinestatic |
Definition at line 68 of file Query.Security.cs.
|
inlinestatic |
Definition at line 263 of file Query.Security.cs.
|
inlinestatic |
Definition at line 248 of file Query.Security.cs.
|
inlinestatic |
Definition at line 221 of file Query.Security.cs.
|
inlinestatic |
Definition at line 229 of file Query.Security.cs.
|
inlinestatic |
Definition at line 244 of file Query.Security.cs.
|
inlinestatic |
Definition at line 300 of file Query.Security.cs.
|
inlinestaticprivate |
Definition at line 33 of file Query.Security.cs.
|
inlinestatic |
Definition at line 284 of file Query.Security.cs.
|
inlinestatic |
Definition at line 276 of file Query.Security.cs.
|
inlinestatic |
Definition at line 280 of file Query.Security.cs.
|
inlinestatic |
Definition at line 77 of file Query.Security.cs.
|
inlinestatic |
Definition at line 60 of file Query.Security.cs.
|
inlinestatic |
Definition at line 312 of file Query.Security.cs.
|
inlinestatic |
Definition at line 316 of file Query.Security.cs.
|
inlinestatic |
Definition at line 331 of file Query.Security.cs.
|
inlinestatic |
Definition at line 491 of file Query.Security.cs.
|
inlinestatic |
Definition at line 385 of file Query.Security.cs.
|
inlinestatic |
Definition at line 499 of file Query.Security.cs.
|
inlinestatic |
Definition at line 416 of file Query.Security.cs.
|
inlinestatic |
Definition at line 487 of file Query.Security.cs.
|
inlinestatic |
Definition at line 423 of file Query.Security.cs.
|
inlinestatic |
Definition at line 371 of file Query.Security.cs.
|
inlinestatic |
Definition at line 404 of file Query.Security.cs.
|
inlinestatic |
Definition at line 479 of file Query.Security.cs.
|
inlinestatic |
Definition at line 400 of file Query.Security.cs.
|
inlinestatic |
Definition at line 408 of file Query.Security.cs.
|
inlinestatic |
Definition at line 360 of file Query.Security.cs.
|
inlinestatic |
Definition at line 495 of file Query.Security.cs.
|
inlinestatic |
Definition at line 483 of file Query.Security.cs.
|
inlinestatic |
Definition at line 365 of file Query.Security.cs.
|
inlinestatic |
Definition at line 459 of file Query.Security.cs.
|
inlinestatic |
Definition at line 471 of file Query.Security.cs.
|
inlinestatic |
Definition at line 475 of file Query.Security.cs.
|
inlinestatic |
Definition at line 454 of file Query.Security.cs.
|
inlinestatic |
Definition at line 320 of file Query.Security.cs.
|
inlinestatic |
Definition at line 381 of file Query.Security.cs.
|
inlinestatic |
Definition at line 435 of file Query.Security.cs.
|
inlinestatic |
Definition at line 439 of file Query.Security.cs.
|
inlinestatic |
Definition at line 431 of file Query.Security.cs.
|
inlinestatic |
Definition at line 444 of file Query.Security.cs.
|
inlinestatic |
Definition at line 449 of file Query.Security.cs.
|
inlinestatic |
Definition at line 94 of file Query.Security.cs.
|
inlinestatic |
Definition at line 335 of file Query.Security.cs.
|
inlinestatic |
Definition at line 347 of file Query.Security.cs.
|
inlinestatic |
Definition at line 393 of file Query.Security.cs.
|
inlinestatic |
Definition at line 324 of file Query.Security.cs.
|
inlinestatic |
Definition at line 389 of file Query.Security.cs.
|
inlinestaticprivate |
Definition at line 29 of file Query.Security.cs.