Data Access Worldwide Knowledge Base

Article ID 2229
Article Title HOWTO: User specific database logins
Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2229
KBase Category DYNAMIC AI
Date Created 07/13/2006
Last Edit Date 07/19/2006


Article Text
By default, Dynamic AI will use the login credentials supplied when the connection is created. This generally means that all users of that connection will log into the database with the same user name and password. If you want the user name and password to be user specific, use @ALIAS1 as the login name and @ALIAS2 as the passsword. Then, when creating users, assign the alias1 and alias2 values to match a server login/password combination that you want that user to use when connecting to that data source. You can also use @USERID as the login name to pass the user's Dynamic AI login name. You would still need to use alias1 or alias2 to hold the user specific password however.

Note, this means users will be restricted to seeing only views/tables that their login allows, and all server requests will be logged on the server with their specific user name and password.




Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.