Microsoft Operations Manager

LoggedOnUsers Property

The LoggedOnUsersproperty gets the number of currently logged-on users.

[VBScript] SystemManager.LoggedOnUsers

Access

Read/Write

Return Value

Long

Examples

The following example shows how to access the number of logged-on users.

[VBScript] 
Dim objSystemManager, lngLoggedOnUsers

Set objSystemManager = CreateObject("OpScrUtil.SystemManager")

lngLoggedOnUsers = objSystemManager.LoggedOnUsers

Set objSystemManager = Nothing

Requirements

Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1

See Also

SystemManager Object


Did you find this information useful? Please send your suggestions and comments about the documentation to momsdk@microsoft.com.