Return the rights list

# Win32Service\RightInfo::getRights

(PECL win32service >=1.1.0)

Win32Service\RightInfo::getRights — Return the rights list

### 说明

final public function Win32Service\RightInfo::getRights(): array

Return the user's right list.

### 参数

此函数没有参数。

### 返回值

Return the user's right list.

The array index is the binary mask of right represented by the constants rights.

The value is a string with the Windows constant name (without `WIN32_` prefix).

### 参见

- Win32Service\RightInfo::__construct() - Create a new RightInfo (not used)
- 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
- Win32Service\RightInfo::getDomain() - Return the user's domain
- Win32 Rights constants

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open