DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Static Public Member Functions | |
static void | CreateUserGroup (this IQueryContext context, string groupName) |
static User | GetUser (this IQueryContext context, string userName) |
static void | SetUserStatus (this IQueryContext queryContext, string username, UserStatus status) |
static UserStatus | GetUserStatus (this IQueryContext queryContext, string userName) |
static void | SetUserGroups (this IQueryContext context, string userName, string[] groups) |
static bool | UserExists (this IQueryContext context, string userName) |
static void | CreatePublicUser (this IQueryContext context) |
static User | CreateUser (this IQueryContext context, string userName, string password) |
static void | AlterUserPassword (this IQueryContext queryContext, string username, string password) |
static bool | DeleteUser (this IQueryContext context, string userName) |
static void | RemoveUserFromAllGroups (this IQueryContext context, string username) |
static User | Authenticate (this IQueryContext queryContext, string username, string password) |
Authenticates the specified user using the provided credentials. More... | |
static void | AddUserToGroup (this IQueryContext queryContext, string username, string group, bool asAdmin=false) |
static void | GrantToUserOn (this IQueryContext context, ObjectName objectName, string grantee, Privileges privileges, bool withOption=false) |
static void | GrantToUserOn (this IQueryContext context, DbObjectType objectType, ObjectName objectName, string grantee, Privileges privileges, bool withOption=false) |
static void | GrantToUserOnSchema (this IQueryContext context, string schemaName, string grantee, Privileges privileges, bool withOption=false) |
static void | GrantToGroupOn (this IQueryContext context, DbObjectType objectType, ObjectName objectName, string groupName, Privileges privileges, bool withOption=false) |
static void | GrantTo (this IQueryContext context, string groupOrUserName, DbObjectType objectType, ObjectName objectName, Privileges privileges, bool withOption=false) |
static void | RevokeAllGrantsOnTable (this IQueryContext context, ObjectName objectName) |
static void | RevokeAllGrantsOnView (this IQueryContext context, ObjectName objectName) |
static void | RevokeAllGrantsOn (this IQueryContext context, DbObjectType objectType, ObjectName objectName) |
static void | GrantToUserOnTable (this IQueryContext context, ObjectName tableName, string grantee, Privileges privileges) |
static string[] | GetGroupsUserBelongsTo (this IQueryContext queryContext, string username) |
static bool | UserBelongsToGroup (this IQueryContext queryContext, string group) |
static bool | UserBelongsToGroup (this IQueryContext context, string username, string groupName) |
static bool | UserCanManageGroups (this IQueryContext context) |
static bool | UserHasSecureAccess (this IQueryContext context) |
static bool | UserBelongsToSecureGroup (this IQueryContext context) |
static bool | UserHasGrantOption (this IQueryContext context, DbObjectType objectType, ObjectName objectName, Privileges privileges) |
static bool | UserHasPrivilege (this IQueryContext context, DbObjectType objectType, ObjectName objectName, Privileges privileges) |
static bool | UserCanCreateUsers (this IQueryContext context) |
static bool | UserCanDropUser (this IQueryContext context, string userToDrop) |
static bool | UserCanAlterUser (this IQueryContext context, string userName) |
static bool | UserCanManageUsers (this IQueryContext context) |
static bool | UserCanAccessUsers (this IQueryContext context) |
static bool | UserHasTablePrivilege (this IQueryContext context, ObjectName tableName, Privileges privileges) |
static bool | UserHasSchemaPrivilege (this IQueryContext context, string schemaName, Privileges privileges) |
static bool | UserCanCreateSchema (this IQueryContext context) |
static bool | UserCanCreateInSchema (this IQueryContext context, string schemaName) |
static bool | UserCanCreateTable (this IQueryContext context, ObjectName tableName) |
static bool | UserCanAlterInSchema (this IQueryContext context, string schemaName) |
static bool | UserCanAlterTable (this IQueryContext context, ObjectName tableName) |
static bool | UserCanSelectFromTable (this IQueryContext context, ObjectName tableName) |
static bool | UserCanReferenceTable (this IQueryContext context, ObjectName tableName) |
static bool | UserCanSelectFromPlan (this IQueryContext context, IQueryPlanNode queryPlan) |
static bool | UserCanSelectFromTable (this IQueryContext context, ObjectName tableName, params string[] columnNames) |
static bool | UserCanUpdateTable (this IQueryContext context, ObjectName tableName, params string[] columnNames) |
static bool | UserCanInsertIntoTable (this IQueryContext context, ObjectName tableName, params string[] columnNames) |
static bool | UserCanExecute (this IQueryContext context, RoutineType routineType, Invoke invoke) |
static bool | UserCanExecuteFunction (this IQueryContext context, Invoke invoke) |
static bool | UserCanExecuteProcedure (this IQueryContext context, Invoke invoke) |
static bool | UserCanCreateObject (this IQueryContext context, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanDropObject (this IQueryContext context, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanAlterObject (this IQueryContext context, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanAccessObject (this IQueryContext context, DbObjectType objectType, ObjectName objectName) |
static bool | UserCanDeleteFromTable (this IQueryContext context, ObjectName tableName) |
static bool | UserCanAddToGroup (this IQueryContext context, string groupName) |
Static Private Member Functions | |
static IUserManager | UserManager (this IQueryContext context) |
static IPrivilegeManager | PrivilegeManager (this IQueryContext context) |
Definition at line 12 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 204 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 129 of file QueryContext.Security.cs.
|
inlinestatic |
Authenticates the specified user using the provided credentials.
queryContext | The query context. |
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 173 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 86 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 97 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 23 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 139 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 305 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 34 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 56 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 258 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 243 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 216 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 224 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 239 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 295 of file QueryContext.Security.cs.
|
inlinestaticprivate |
Definition at line 17 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 149 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 279 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 271 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 275 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 65 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 48 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 309 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 313 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 328 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 488 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 382 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 496 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 413 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 484 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 420 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 368 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 401 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 476 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 397 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 405 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 357 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 492 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 480 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 362 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 456 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 468 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 472 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 451 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 317 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 378 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 432 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 436 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 428 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 441 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 446 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 82 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 332 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 344 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 390 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 321 of file QueryContext.Security.cs.
|
inlinestatic |
Definition at line 386 of file QueryContext.Security.cs.
|
inlinestaticprivate |
Definition at line 13 of file QueryContext.Security.cs.