How can I access the groups selected in DisplayNewUserDialog?

I'm developing a user for a Deployment Manager so that the production manager can add users they are formed. I changed the simple IO to add a button 'Manage users', which is implemented as a VI.

I have this pretty much work except when I add a user using the DisplayNewUserDialog, I see no way to access the groups that can be selected in the dialog box. Select a group in the dialog box apparently does nothing. I save the user sent to the dialog box object and "sticking". But group selection doesn't fit or I see nothing to access the selection. With the help of the DisplayEditUserDialog on the same user object correctly records the group memberships selected without having to make an additional call.

I see that in the example CreateDeleteUsers.seq, it is a step 'Add the user to the group' who up the group by the name chosen by the user. To paraphrase the steps:

  1. Add a new user: RunState.Engine.UsersFile.UserList.SetPropertyObjectByOffset (0, 0 x 1, Locals.User)
  2. Add the user to the Group (defines the privileges): RunState.Engine.GetUserGroup (Locals.GroupName). Members.SetValStringByOffset (0, 0 x 1, Locals.User.AsUser.LoginName)

I don't see how I can retrieve this group name ("Locals.GroupName" above) the box of dialogue, or of the user object that is returned from the dialog box programmatically. Is this a bug?

Hi Gizmogal,

Your application will definitely work.  Access to the RunState.Engine.UsersFile.Data.UserTemplates well I have mentioned, we must use a search string:

Tags: NI Software

Similar Questions

Maybe you are looking for

  • The search bar plant after version 8.1 of Windows updated? My searches go through.

    The title sums it up. Windows 8.1 update from one day to the next. I opened Firefox this morning and your research, I try through (at least) search using the search engine Google, Bing and Wikipedia dead stalls. Go to the current site to conduct rese

  • Automatic email to remove?

    After checking my trash for something I deleted by accident, I discovered that there are emails in the trash that I had not yet seen? All the patches?

  • LiCor series - hex 0xBFFF006c read errors

    Hi all I tried these last days develop a series VI to read the data of a 820-LiCor-CO2 gas Analyzer. I know what is sent to the device to a request to send data to the computer and how to analyze these data once it gets in return. Its manual settings

  • Aspire 9805 - no graphics but messages very well

    So my 9805 sucks old but formerly robust was blowing only fine until this morning.  The unit displayed in the bios then frozen.  After checking everything I finally seeded and redefined the RAM, cmos (disconnected the cmos battery and reconnected in)

  • Cannot install Adobe Acrobat 5 because of Vista compatibility

    I just replaced a XP Pro computer with a 32-bit Vista Business box. XP Pro had Acrobat 5 installed from the CD and more later put upgraded to Acrobat 7 via a download purchase. I have the serial number of the version 7 of the file, but the operation