Automating user process - retrieve initial password

Hi, 

We have setup some new user automation however we would like to store the users initial password somewhere so that we can then send this via email to the IT Technician setting up the users account.

Does anyone know where this attribute is stored or any ideas how we can store it somewhere in ARS? 

  • The password is available immediately after user create in a property called "edsaPassword".

    Here's how you can grab it with a Policy Script embedded into your current provisioning policy:

    Function OnPostCreate ($Request)

    {

    # Make sure the object creation transaction was for a user object, if not then quit

    If ($Request.class -ne 'user'){return}

    # Store the newly created user's password to a variable for further use in this script block

    $NewUserPassword = $Request.Get("edsaPassword")

    # Now you have the value, you can do something with it.

    }