REST Resource: userLicense

資源:UserLicense

JSON 表示法
{
  "kind": string,
  "enabled": boolean,
  "state": string,
  "editionId": string,
  "customerId": string,
  "applicationId": string,
  "id": string,
  "userId": string
}
欄位
kind

string

API 資源類型。這個值一律為 appsmarket#userLicense

enabled

boolean

網域管理員已為這個網域啟用應用程式。

state

string

使用者的授權狀態。下列其中一項權限:

  • ACTIVE:使用者擁有有效授權,應可使用應用程式。
  • UNLICENSED:這位使用者的網域管理員從未為該使用者指派應用程式席位。
  • EXPIRED:管理員已將席位指派給這位使用者,但授權已過期。
editionId
(deprecated)

string

(已淘汰)

customerId

string

使用者的網域名稱。

applicationId

string

與授權查詢相應的應用程式 ID。

id

string

使用者授權的 ID。

userId

string

使用者的電子郵件地址。

方法

get

取得使用者的授權狀態,判斷他們是否有權使用指定應用程式。