Win32Service\RightInfo::getDomain
(PECL win32service >=1.1.0)
Win32Service\RightInfo::getDomain — Return the user's domain
参数
此函数没有参数。
返回值
Return the domain name or null if no domain found (local account or user GUID resolve fail).
参见
- Win32Service\RightInfo::__construct() - Create a new RightInfo (not used)
- Win32Service\RightInfo::getRights() - Return the rights list
- Win32Service\RightInfo::isGrantAccess() - Return true if the RightInfo concern grants access to the resource
- Win32Service\RightInfo::isDenyAccess() - Return true if the RightInfo concerns deny access to the resource
- Win32Service\RightInfo::getFullUsername() - Return the domain and username
- Win32Service\RightInfo::getUsername() - Return the username