SQLServer.IntegratedSecurity Object
Lists information about a Windows NT group or user account and how it is used by SQL Server. List is returned in a QueryResults object.
QueryResults = IntegratedSecurity.EnumAccountInfo (
[[Account :=] strAccount,]
[[ListAll :=] bListAll] )
HRESULT pIntegratedSecurity->EnumAccountInfo ( LPSQLOLEQUERYRESULTS* ppQueryResults,
SQLOLE_LPCSTR strAccount = NULL,
BOOL bListAll = FALSE );
| Element | Type | Description |
|---|
| QueryResults | QueryResults | Returned QueryResults object |
| strAccount | String | Windows NT group or user account |
| bListAll | Boolean | Determines if information is returned for all Windows NT groups |
| ColumnName | ColumnType |
|---|
| account name | SQLOLE_DTypeChar |
| type | SQLOLE_DTypeChar |
| privilege | SQLOLE_DTypeChar |
| mapped login name | SQLOLE_DTypeChar |
| permission path | SQLOLE_DTypeChar |
xp_logininfo