array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'win32service-rightinfo.get-username.php', 1 => 'Win32Service\\RightInfo::getUsername', 2 => 'Return the username', ), 'up' => array ( 0 => 'class.win32service-rightinfo.php', 1 => 'Win32Service\\RightInfo', ), 'prev' => array ( 0 => 'win32service-rightinfo.get-rights.php', 1 => 'Win32Service\\RightInfo::getRights', ), 'next' => array ( 0 => 'win32service-rightinfo.is-deny-access.php', 1 => 'Win32Service\\RightInfo::isDenyAccess', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/win32service/rightinfo/get-username.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Win32Service\RightInfo::getUsername

(PECL win32service >=1.1.0)

Win32Service\RightInfo::getUsernameReturn the username

说明

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

Return the username.

参数

此函数没有参数。

返回值

Return the username name or GUID if resolve fail.

参见