This VI will be used in the next section and will execute the command to cancel the execution of placing a step dependant on whether or not the user has the correct privileges. Below is an image of the code that will need to be created. It uses the current Sequence Context to access the reference to the engine and the step by using Property Nodes.The Engine uses an Invoke Node to access the method "CurrentUserHasPrivilege" which will access the users TestStand profile and check it against the named privilege. If they do not have access then it will set the Step property "CancelCurrentExecution" to be True. The step execution here is referencing to the process of placing a step. The only terminal of the connector pane that is required, is the Sequence Context In. Error terminals could also be added.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.