Hi all,

I have installed db2 express - C, 10.1 on my WIN 7/xp machine with user name "XYZ" which is different with logged in windows user. Now I have a java application which needed my db2 user name( i.e. "XYZ") to validate the user for creating database, so is there any command which can help me to get my objective?

Note: It may be possible that more then one user in system having administrative right can create database including administrator itself but i want to protect them by validating user with the db2 user name(i.e. "XYZ" which is profile name).

A great sincere & thanks to quick helping hands.