bcooney Posted April 26, 2006 Posted April 26, 2006 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.
Ender Posted April 27, 2006 Posted April 27, 2006 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
bcooney Posted April 27, 2006 Author Posted April 27, 2006 Thanks, sounds just what I needed. I'll let you know.
Recommended Posts
This topic is 6784 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now