Adapter for MongoDB 9.12 | webMethods Adapter for MongoDB Documentation | webMethods Adapter for MongoDB Installation and User’s Guide Documentation | Overview of the Adapter | Adapter Services | Changing the Connection Associated with an Adapter Service at Run Time
 
Changing the Connection Associated with an Adapter Service at Run Time
Adapter for MongoDB enables you to dynamically change the user credentials of a connection associated with an adapter service at run time. This feature enables you to interact with a database with different user privileges.
For example, consider a service is associated adapter connection that uses an administrator's credentials at design time to define a connection to a database. At run time, you can override the administrator's account credentials with the individual user's credentials to limit the access to the database according to the permission level each user has. This capability also enables you to keep track of the database operations by the user initiating the service.