Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating user with VB 1

Status
Not open for further replies.

Suedois

Programmer
Sep 25, 2001
14
CH
Hi All,

I'm currenty working on a program who will add user to a catalog.

I can without problem add user using :
ImpCat.activeUserClass.UserClasses.add "UserName"

Now, I have to add database autentification (User, password ) with DatabaseConnections object, but I don't no how ?

Have someone an example (Cognos documentation is poor !)

Thanks a lot.

Stéphane
 
...
Set ImpUser = ImpUserClassObj.UserClasses.Add(UserLogon)
ImpUserClassObj.Name
ImpUser.PlainTextPassword = UserPass
ImpUser.DatabaseConnections(1).UserName = UserLogon
ImpUser.DatabaseConnections(1).PlainTextPassword = DBUserPass


Enjoy...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top