Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

CurrentUser Property

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.CurrentUser

Data Type

User

Purpose

Specifies the user who is currently logged in.

Remarks

Use this property to get or set the User object for the user who is currently logged in. If no one is currently logged in, this property returns a NULL dispatch pointer or object reference. After you obtain the User object, call the User.HasPrivilege method to determine whether the user or a user group that the user is a member of has a specific privilege. If you set the property to 0 or NULL, you log out the current user.


See Also

CurrentUserHasPrivilege

User.HasPrivilege


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit