sysusers sysusers - 北京怡康軟件科技有限公司 資源網(wǎng) "/>
數(shù)據(jù)庫中每個 Microsoft® Windows 用戶、Windows 組、Microsoft SQL Server™ 用戶或 SQL Server 角色在表中占一行。
| 列名 | 數(shù)據(jù)類型 | 描述 |
|---|---|---|
| uid | smallint | 用戶 ID,在此數(shù)據(jù)庫中是唯一的。1 是數(shù)據(jù)庫所有者。 |
| status | smallint | 僅限內(nèi)部使用。 |
| Name | sysname | 用戶名或組名,在此數(shù)據(jù)庫中是唯一的。 |
| sid | varbinary(85) | 此條目的安全性標識符。 |
| roles | varbinary(2048) | 僅限內(nèi)部使用。 |
| createdate | datetime | 帳戶的添加日期。 |
| updatedate | datetime | 帳戶的上次修改日期。 |
| altuid | smallint | 僅限內(nèi)部使用。 |
| password | varbinary(256) | 僅限內(nèi)部使用。 |
| gid | smallint | 此用戶所屬的組 ID。如果 uid = gid,那么此條目就定義一個組。 |
| environ | varchar(255) | 保留。 |
| hasdbaccess | int | 如果該帳戶有數(shù)據(jù)庫訪問權限,則為 1。 |
| islogin | int | 如果該帳戶是有登錄帳戶的 Windows 組、Windows 用戶或 SQL Server 用戶,則為 1。 |
| isntname | int | 如果該帳戶是 Windows 組或 Windows 用戶,則為 1。 |
| isntgroup | int | 如果該帳戶是 Windows 組,則為 1。 |
| isntuser | int | 如果該帳戶是 Windows 用戶,則為 1。 |
| issqluser | int | 如果該帳戶是 SQL Server 用戶,則為 1。 |
| isaliased | int | 如果該帳戶以另一個用戶為別名,則為 1。 |
| issqlrole | int | 如果該帳戶是 SQL Server 角色,則為 1。 |
| isapprole | int | 如果該帳戶是應用程序角色,則為 1。 |