Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Win32Service\RightInfo::__constructWin32Service\RightInfo::getFullUsername>
^Win32Service\RightInfoLast updated: Mon, 26 Oct 2026

Win32Service\RightInfo::getDomain

(PECL win32service >=1.1.0)

Win32Service\RightInfo::getDomain — Return the user's domain

Description

final public function Win32Service\RightInfo::getDomain(): ?string

Return the user's domain.

Parameters

This function has no parameters.

Return Values

Return the domain name or null if no domain found (local account or user GUID resolve fail).

See Also


<Win32Service\RightInfo::__constructWin32Service\RightInfo::getFullUsername>
^Win32Service\RightInfoLast updated: Mon, 26 Oct 2026