Workflow Soluiton

 View Only
  • 1.  Workflow, Create new user and add into certain OU

    Posted Oct 08, 2010 01:57 PM

    Hi,
    I've just watched a video on searching users last names and displaying them in a list box. What I'm trying to do is create a new user and add it into a certain OU within AD. I presume you need to use the "Get Organization Units List" and the "Add User to Organization Unit" components but I'm having trouble putting the process together. So far I can create my new user and get them added to the default domain "users" OU but obviously I don't want them to stay there.  

    Should I be creating a model that runs the OU query then returns to the new user model to complete the move and do you know exactly what I need to do to pull the OU bits into the workflow?
    Thanks, Matt
     


  • 2.  RE: Workflow, Create new user and add into certain OU

    Posted Oct 19, 2010 01:23 PM

    In the Create User component, on the Context Tab, clcik Organizational Unit under Container Type.

     

    In there, place the OU using a / to separate the OU's - and DO NOT put the domain info at the end, just the Actual OU's.

     

    For example:

    The DN for this OU is :

    OU=Users,OU=CTMH,OU=Products,DC=DOMAIN,DC=corp,DC=lcl

    but in the component, you drop the DC's:

    Products/CTMH/Users

    This will create the user in the that specific OU.

    Rob



  • 3.  RE: Workflow, Create new user and add into certain OU

    Posted Oct 25, 2010 04:43 AM

    Thanks Rob that does help!

    However, how would I get this info and display onto the computer containers for different sites in the drop down box for the user to choose?

    For example, we've got our AD structure setup as so:

    Domain>Company>Various site OU's>Computers OU

    What I need to do is get the drop down box to display the names of the "Various site OU's" and when one is selected, add the user to that site's Computers OU.

    Does that make sense?



  • 4.  RE: Workflow, Create new user and add into certain OU

    Posted Nov 07, 2010 10:46 PM

    If your AD is fairly static, I would create a custom drop down that presents a more friendly list to the user filling out the form. You can then map that friendly value to the actual OU you need.

     

    Or, you can get all the OU's using one of the AD components and generate a drop down that way.

     

    rob