| title | User Object (ADOX) | Microsoft Docs | |
|---|---|---|
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.technology | connectivity | |
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.reviewer | ||
| ms.topic | conceptual | |
| apitype | COM | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | f68e32ce-ef7c-407d-bdb5-d280947ae0e2 | |
| author | MightyPen | |
| ms.author | genemi |
Represents a user account that has access permissions within a secured database.
The Users collection of a Catalog represents all the catalog's users. The Users collection for a Group represents only the users of the specific group.
With the properties, collections, and methods of a User object, you can:
-
Identify the user with the Name property.
-
Change the password for a user with the ChangePassword method.
-
Determine whether a user has read, write, or delete permissions with the GetPermissions and SetPermissions methods.
-
Access the groups to which a user belongs with the Groups collection.
-
Access provider-specific properties with the Properties collection.
-
Determine the ParentCatalog for a user.
This section contains the following topic.
GetPermissions and SetPermissions Methods Example (VB)
Groups Collection (ADOX)
Users Collection (ADOX)