array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'win32service-rightinfo.get-domain.php', 1 => 'Win32Service\\RightInfo::getDomain', 2 => 'Return the user\'s domain', ), 'up' => array ( 0 => 'class.win32service-rightinfo.php', 1 => 'Win32Service\\RightInfo', ), 'prev' => array ( 0 => 'win32service-rightinfo.construct.php', 1 => 'Win32Service\\RightInfo::__construct', ), 'next' => array ( 0 => 'win32service-rightinfo.get-full-username.php', 1 => 'Win32Service\\RightInfo::getFullUsername', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/win32service/rightinfo/get-domain.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Win32Service\RightInfo::getDomain

(PECL win32service >=1.1.0)

Win32Service\RightInfo::getDomainReturn the user's domain

说明

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

Return the user's domain.

参数

此函数没有参数。

返回值

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

参见