Table SysUsers
Description
No description available
Supported Operations
Below section contains supported CRUD operations. Each operation is executed by some EndPoint behind the scene.| Method | Supported | Reference EndPoint |
|---|---|---|
| SELECT | get_users | |
| INSERT | ||
| UPDATE | ||
| UPSERT | ||
| DELETE | ||
| LOOKUP | get_user |
Examples
SSIS
Use Cosmos DB Connector in API Source component to read data or in API Destination component to read/write data:
Read from SysUsers table using API Source
| Optional Parameters | |
|---|---|
| Database Name (keep blank to use default) Case-Sensitive | |
Read/write to SysUsers table using API Destination
| Optional Parameters | |
|---|---|
| Database Name (keep blank to use default) Case-Sensitive | |
ODBC application
Use these SQL queries in your ODBC application data source:
List users
<p>Returns all users for the default database. Users are used for resource-token permissions (e.g. create a permission and obtain a token for a specific container). Specify the database in <code>WITH</code> if not using the connection default.</p>
SELECT * FROM SysUsers
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List users
<p>Returns all users for the default database. Users are used for resource-token permissions (e.g. create a permission and obtain a token for a specific container). Specify the database in <code>WITH</code> if not using the connection default.</p>
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM SysUsers';
EXEC (@MyQuery) AT [LS_TO_COSMOS_DB_IN_GATEWAY];