Page 1 of 1

Program Created Atrium Users

Posted: Wed Oct 12, 2016 1:01 pm
by ectstx
We currently have a program that can automate the creation of AS400 users and would like to add additional code to open the Atrium users. Is there currently any code that does this?

Re: Program Created Atrium Users

Posted: Wed Oct 12, 2016 1:10 pm
by Scott Klement
What do you mean by "open the Atrium users"?

Re: Program Created Atrium Users

Posted: Wed Oct 12, 2016 5:28 pm
by ectstx
I mean, run a CL program that will populate the ATUSRP and ATGROUPSP files using this CL instead of having to manually open all the users. We are trying to simplify the Atrium User procedure. What are the pitfalls of trying this?

Re: Program Created Atrium Users

Posted: Thu Oct 13, 2016 8:57 am
by Glenn
Daniel,

As far as I know, we don't have example code to add users to Atrium programmatically. We do have some customers who do it though, perhaps they will respond with their code.

We do have a doc page that I have linked below that describes the database that Atrium uses. Please note that it is very important that you keep the ATUIDSP (Unique Ids File) table in sync with the unique IDs that you will need to generate for the various other tables.

If you run into any difficulties or have any issues with understanding the database please let us know.

http://www.profoundlogic.com/docs/displ ... m+Database

Glenn

Re: Program Created Atrium Users

Posted: Thu Oct 13, 2016 4:10 pm
by Scott Klement
Ah, so by "open all users" he means adding them in the Atrium control panel? Yeah, you can write them to the Atrium databases directly from a program if you know which users to add and which groups you want them in, etc, etc. Glenn's link explains the database file layouts.

We don't have an example, but it does seem like a pretty easy job for an experienced RPG programmer.

Re: Program Created Atrium Users

Posted: Fri Oct 14, 2016 9:37 am
by ectstx
Thank you Glenn and Scott, We'll look at the database layouts.