Partilhar via


DatabaseUserAccess Enum

Definition

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

Applies to