April 26, 200619 yr I want to have my user "admin" create accounts and have the ability to choose privs sets, but I want to script this. I do not want "admin" to get to the define accounts dialog, and therefore the developer account and password. I thought that I could have a nice popup of priv sets, and then use the Create Account script step of create the account, with the chosen priv set. Seems like I'm stuck.
April 27, 200619 yr You can do that. Define a value list with your privilege set names, and use a script to create the account with the proper privilege set. Since the target privilege set cannot be chosen from a calculated (or field) value, use If[] branching to choose the right Add Account[] step, where each one uses a different privilege set. Keep in mind that [Full Access] accounts cannot be created via scripts. If [ SelectedPrivSet = "HR" ] Add Account [ Account Name: AccountName ; Password: AccountPassword; Privilege Set: "HR" ] Else If [ SelectedPrivSet = "Marketing" ] Add Account [ Account Name: AccountName ; Password: AccountPassword; Privilege Set: "Marketing" ] ... End If
Create an account or sign in to comment