Autodesk FDO Data Management Utility .NET API Reference

Autodesk FDO User Management Utility API

.NET API Reference Autodesk FDO Data Management Utility

IUserManagerImp Class Reference

List of all members.

Detailed Description

Definition at line 34 of file mgIUserManagerImp.h.

Public Member Functions

System::Void AddUser (System::String *name, System::String *password)
 Adds a new user to the RDBMS. <>
Parameters:
name Input the user name
password Input the user's password
Returns:
Returns nothing <.

System::Void ApplyWindowsUser (System::String *domain, System::String *name)
 Supported by SQL Server. Adds a Windows user to the server. <>
Parameters:
domain Input the Windows domain name
name Input the user name
Returns:
Returns nothing <.

System::Void AssignRoleOrPrivilege (System::String *name, System::String *roleOrPrivilege)
 Supported by Oracle. Assigns a role to the specified user. <>
Parameters:
name Input the user name
roleOrPrivilege Input the role name.
Returns:
Returns nothing <.

System::Void DropUser (System::String *name)
 Removes an user from RDBMS. <>
Parameters:
name Input the user name
Returns:
Returns nothing <.

NAMESPACE_OSGEO_COMMON::StringCollection * GetDatastores (System::Boolean includeAllDataStores)
 Gets the list of the datastores. <>
Returns:
Returns the list of datastores <.

NAMESPACE_AUTODESK_FDO_FDO_UTILITIES_USERMGR::DbUserReader * GetDbUsers (System::String *dataStore)
 Supported by SQL Server and MySQL. Gets a reader over the users of a specific dataStore. <>
Parameters:
dataStore Input the dataStore name
Returns:
Returns the reader <.

NAMESPACE_AUTODESK_FDO_FDO_UTILITIES_USERMGR::DbUserReader * GetDbUsers ()
NAMESPACE_OSGEO_COMMON::StringCollection * GetRolesOrPrivileges ()
 Gets the list of supported Roles or Privileges. <>
Returns:
Returns the list of supported Roles or Privileges. <.

System::Void GrantAccessToDatastore (System::String *name, System::String *dataStore, System::String *roleOrPrivilege)
 Supported by SQL Server and MySQL. Grants access to a dataStore with the specified privilege. <>
Parameters:
name Input the user name
dataStore Input the dataStore name
roleOrPrivilege Input the privilege name.
Returns:
Returns nothing <.

System::Void GrantAccessToDatastore (System::String *name, System::String *dataStore)
 Supported by SQL Server and MySQL. Grants explicit access to a dataStore with the default privileges. <>
Parameters:
name Input the user name
dataStore Input the dataStore name
Returns:
Returns nothing <.

 IUserManagerImp (NAMESPACE_OSGEO_FDO_CONNECTIONS::IConnectionImp *connection)
 Creates an instance of this class can be used to dynamically manage the users of a datasource. <>
Parameters:
connection Input the connection
Returns:
Returns an instance of this class <.

System::Void RevokeAccessToDatastore (System::String *name, System::String *dataStore, System::String *roleOrPrivilege)
 Supported by SQL Server and MySQL. Revokes an access privilege against a database. <>
Parameters:
name Input the user name
dataStore Input the dataStore name
roleOrPrivilege Input the privilege name.
Returns:
Returns nothing <.

System::Void RevokeRoleOrPrivilege (System::String *name, System::String *roleOrPrivilege)
 Supported by Oracle. Revokes a role from the specified user. <>
Parameters:
name Input the user name
roleOrPrivilege Input the role name.
Returns:
Returns nothing <.

System::Boolean SupportsDatastoreGrants ()
 SQL Server and MySQL use explicit grants to datastores. <>
Returns:
Returns true if the RDBMS use explicit grants <.

System::Boolean SupportsWindowsAuthentication ()
 SQL Server can use Windows authenticated users. <>
Returns:
Returns true if the RDBMS use Windows authenticated users.<.


Protected Member Functions

System::Void ReleaseUnmanagedObject ()

Comments?