User Shell Properties

User shell properties are defined when there is a current user.

Shell.User

User object (input). The "current user" for the script and is always the logged-in user, except when used with the Notification context. In the Notification context, the script is executed once per subscriber, with Shell.User referring to the subscriber being processed. If there are no subscribers, the script is executed one time with Shell.User equal to the VBScript value Nothing.

Related Topics