DatabaseUserAccess Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
enum values are aranget to mach sys.databases.user_access
public enum DatabaseUserAccess
type DatabaseUserAccess =
Public Enum DatabaseUserAccess
- Inheritance
-
DatabaseUserAccess
Fields
Name | Value | Description |
---|---|---|
Multiple | 0 | all users |
Single | 1 | only one db_owner, dbcreator, or sysadmin user at a time |
Restricted | 2 | only members of db_owner, dbcreator, and sysadmin roles |