Methods
| Method ID | Method Name |
|---|---|
| 1 | GetPrivileges |
| 2 | ActivateKey |
| 3 | ActivateKeyWithExpectedPrivileges |
| 4 | GetPrivilegeRemainDuration |
| 5 | GetExpiredPrivileges |
| 6 | GetPrivilegesEx |
(1) GetPrivileges
Request
| Type | Name |
|---|---|
| String | localeCode |
Response
(2) ActivateKey
Request
Response
| Type | Name |
|---|---|
| PrivilegeGroup | privilege |
(3) ActivateKeyWithExpectedPrivileges
Request
Response
| Type | Name |
|---|---|
| PrivilegeGroup | privilege |
(4) GetPrivilegeRemainDuration
Request
| Type | Name |
|---|---|
| Uint32 | privilegeID |
Response
| Type | Name |
|---|---|
| Sint32 | seconds |
(5) GetExpiredPrivileges
Request
This method does not take any parameters.
Response
| Type | Name |
|---|---|
| List<PrivilegeEx> | expiredPrivileges |
(6) GetPrivilegesEx
Request
| Type | Name |
|---|---|
| String | localeCode |
Response
| Type | Name |
|---|---|
| List<PrivilegeEx> | privilegesEx |
Types
Privilege (Structure)
| Type | Name |
|---|---|
| Uint32 | m_ID |
| String | m_description |
PrivilegeEx (Structure)
| Type | Name |
|---|---|
| Uint32 | m_ID |
| String | m_description |
| Sint32 | m_duration |