Sending user's details in mail
Hi.Can someone please, give an idea how to send details of newly created user (accountname, autogenerated password etc..) to admins. I have procedure where i flow users from database to FIM and then create AD account. When creating AD account I use autogenerated random numbers and characters and then flow that with outbound sync rule on unicodePWD attribute. So upon first creation of user I would like to send mail that will consists of username, password and some other details.My idea was that I could generate password upon creation of user in FIM, store that pwd in one attribute tied with Person resource, trigger sending mail, and then flow that in AD. Of course i would set AD outbound rule to send that password with initial flow only and also flow value pwdLastSet and set it to 0. Is that idea ok or do you have better solutions?
March 4th, 2010 1:30am

The easiest way to solve this is by using one SR and three activities in an action workflow.The SR:On the workflow tab on the SR designer, create a parameter called InitialPassword. On the outbound flow tab, map this parameter to the unicode password attribute. This use of a workflow parameter will tell the SR that this value will be calculated in a workflow and passed in by the SR activity.Activity 1: Function activity to generate a random passwordE.g.Target: [//WorkflowData/Password]Source: "Pass" + RandomNum(1000,9999) + "word"(This will generate a 12 char password Activity 2: SR activity Select to add the SR. The InitialPassword parameter from the SR is visible. Set its value to [//WorkflowData/Password]Activity 3: Email activityCraft an email. Where you want the initial password to appear you enter [//WorkflowData/Password].All you need now is an MPR and a set to trigger this workflow./AndreasThis posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/copyright.htm
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2010 12:25am

Thank you so much.D.
March 8th, 2010 12:37am

For future reference, Andreas' idea has been documented in the following wiki article: How to Use Workflows to Automate the Calculation and Notification of Initial Passwordshttp://setspn.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2011 3:28pm

For future reference, Andreas' idea has been documented in the following wiki article: How to Use Workflows to Automate the Calculation and Notification of Initial Passwordshttp://setspn.blogspot.com
January 19th, 2011 3:28pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics