NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Create Users with the Same Privileges they have on Windows

Is there a way to edit the 'FrontEndCallbacks.seq' so that it checks if the Windows user has admin privilege's? I want to check the Windows Privileges and then add to TestStand Groups according to that.

 

For example, if the Windows user is part of the Administrator Group on Computer Management, then I want that user to be added to Administrators Group on TestStand. If the Windows user is not part of Administrators Group on Windows, then add to Operators Group on TestStand. 

 

Thanks

0 Kudos
Message 1 of 3
(912 Views)

maybe this link can help you. and you just need to add a function as check the windows user's privileges.

 

Automatically Create a TestStand User for the Windows System User in TestStand 

0 Kudos
Message 2 of 3
(886 Views)

AFAIK, there is no Active Directory integration in TestStand. (I guess you are referring to company environment), so I don't think this is possible.

 

You may be able to hack your way around this with a custom PowerShell-Script extracting user information on your computer, yet this might require admin privileges (at least it should in my view).

 

Feel free to post a feature idea on https://forums.ni.com/t5/NI-TestStand-Idea-Exchange/idb-p/teststandideas

 

 

 

Message 3 of 3
(851 Views)