UMRA – Example Projects

8:04 PM / Comments (0) / by Tech Admin

If you haven’t already download the free trial version of User Management Resource Administrator here > Download

If you want to learn the basics on how to connect to UMRA with its COM object, please see my original post on “Basics of UMRA COM”.

UMRA – Example Projects

First off I would like to thank everyone for their emails and questions hey have been sending me. I’ve been getting a few emails requesting sample UMRA Projects that they can download instead of looking at pictures through my blog. So to help some of my blog followers, I will post a few sample code pages, and the UMRA Projects that are associated with them in a .zip file, this way you will have everything to get my example up and running. Here are a few of the requests that I’ve received on “How do you do this…” type requests.

UMRA – Example Projects Questions

Question 1:
How do you create a user with UMRA from a webpage, and then get back the username that was crated?
Answer :
We would take the same approach as we’ve talked about in previous blog post, on how we send data to our UMRA Project , then once we call the ExecuteUMRAProject COM method, we can now get a UMRA Variable Text from the script. So if you are using a “Create User” drag/drop action, you can now grab the %username% variable back out of the UMRA Project and display it on the page. The example UMRA project .zip file below contains 1 sample page that calls a UMRA Project and grabs a variable called %my_set_text% out of the script and displays it on the page.
Download: http://www.joefoxportfolio.com/downloads/1.zip

Question 2:
How do you Loop through a table of data that is from a database such as MSSQL or Oracle or any ODBC databse, from within UMRA Projects, and then display them out on a web page?

Anwser:
We would loop through the table the same way as if it were an LDAP query that filled the table with data. Only difference is, the columns are now defined by your query, or view that fills your table, and not columns we define in our attributes we want to grab from AD directly. So contained in this zip file, is a .asp page that grabs a table of data, however, you will need to configure the “Generate Gerneric Table” action within the UMRA Project, however this should give you an idea of how to get this running.
Download: http://www.joefoxportfolio.com/downloads/2.zip

So those are 2 commonly asked questions I’ve been getting from my readers, and I hope it helps you with creating and developing your web based UMRA Projects. I will post more UMRA project examples here in the future as I get more requests.

0 comments:

 
-->