Share via


Event.UserDomainName Property

Gets the domain name for the Windows NT or Windows 2000 account that generated the event.

 Event.UserDomainName

Access

Read/Write

Return Value

String

Remarks

The UserDomainName property is read-only when used with an event provided to the script by MOM. The property is read/write when used with a new event created with the ScriptContext.CreateEvent method.

Requirements

Platforms: Requires Windows 2000 or later

Version: Requires MOM 2000  or later

See Also

Event Object | Event.UserName Property