Autodesk FDO Data Management Utility API Reference
From Autodesk FDO Data Management Utility
| API Reference | Autodesk FDO Data Management Utility |
FdoUserManager Class Reference
List of all members.Detailed Description
Definition at line 41 of file FdoUserManager.h.
Public Member Functions | ||||||||||
| virtual FDOUSERMGR_API void | AddUser (FdoString *name, FdoString *password)=0 | |||||||||
Adds a new user to the RDBMS. <>
| ||||||||||
| virtual FDOUSERMGR_API void | ApplyWindowsUser (FdoString *domain, FdoString *name)=0 | |||||||||
Supported by SQL Server. Adds a Windows user to the server. <>
| ||||||||||
| virtual FDOUSERMGR_API void | AssignRoleOrPrivilege (FdoString *name, FdoString *roleOrPrivilege)=0 | |||||||||
Supported by Oracle and MySQL. Assigns a role to the specified user. In MySQL this assigns the role to the specified user in all datastores.<>
| ||||||||||
| virtual FDOUSERMGR_API void | DropUser (FdoString *name)=0 | |||||||||
Removes a user from the RDBMS. <>
| ||||||||||
| virtual FDOUSERMGR_API FdoStringCollection * | GetDatastores (bool bIncludeNonFdoEnabledDatastores=false) | |||||||||
Gets the list of the datastores. <>
| ||||||||||
| virtual FDOUSERMGR_API FdoDbUserReader * | GetDbUsers (FdoString *datastore)=0 | |||||||||
Supported by SQL Server and MySQL. Gets a reader over the users of a specific datastore. <>
| ||||||||||
| virtual FDOUSERMGR_API FdoDbUserReader * | GetDbUsers ()=0 | |||||||||
Gets a reader over all RDBMS users. <>
| ||||||||||
| virtual FDOUSERMGR_API FdoStringCollection * | GetRolesOrPrivileges ()=0 | |||||||||
Gets the list of supported Roles or Privileges. <>
| ||||||||||
| virtual FDOUSERMGR_API void | GrantAccessToDatastore (FdoString *name, FdoString *datastore, FdoString *roleOrPrivilege)=0 | |||||||||
Supported by SQL Server and MySQL. Grants access to a datastore with the specified privilege. <>
| ||||||||||
| virtual FDOUSERMGR_API void | GrantAccessToDatastore (FdoString *name, FdoString *datastore)=0 | |||||||||
Supported by SQL Server and MySQL. Grants explicit access to a datastore with the default privileges. <>
| ||||||||||
| virtual FDOUSERMGR_API void | RevokeAccessToDatastore (FdoString *name, FdoString *datastore, FdoString *roleOrPrivilege)=0 | |||||||||
Supported by SQL Server and MySQL. Revokes an access privilege against a datastore. If roleOrPrivilege is set to '*', all roles or privileges are revoked from the specified user; on SQL Server this will also remove the user from that datastore.<>
| ||||||||||
| virtual FDOUSERMGR_API void | RevokeRoleOrPrivilege (FdoString *name, FdoString *roleOrPrivilege)=0 | |||||||||
Supported by Oracle and MySQL. Revokes a role from the specified user. In MySQL this revokes the role from the specified user in all datastores.<>
| ||||||||||
| virtual FDOUSERMGR_API bool | SupportsDatastoreGrants ()=0 | |||||||||
SQL Server and MySQL use explicit grants to datastores. <>
| ||||||||||
| virtual FDOUSERMGR_API bool | SupportsWindowsAuthentication ()=0 | |||||||||
SQL Server can use Windows authenticated users. <>
| ||||||||||
Static Public Member Functions | ||||||||||
| static FDOUSERMGR_API FdoUserManager * | Create (FdoIConnection *connection) | |||||||||
Creates an instance of this class that can be used to dynamically manage the users of a datasource. <>
| ||||||||||
Protected Member Functions | ||||||||||
| virtual void | Dispose () | |||||||||
| FdoUserManager () | ||||||||||
Protected Attributes | ||||||||||
| FdoIConnection * | mFdoConnection | |||||||||
| FdoStringsP | mRolesOrPrivileges | |||||||||
| FdoPtr< FdoISQLCommand > | mSqlCmd | |||||||||
| Comments? |