Google Play EMM API . grouplicenseusers

Instance Methods

list(enterpriseId, groupLicenseId, x__xgafv=None)

Retrieves the IDs of the users who have been granted entitlements

Method Details

list(enterpriseId, groupLicenseId, x__xgafv=None)
Retrieves the IDs of the users who have been granted entitlements
under the license.

Args:
  enterpriseId: string, The ID of the enterprise. (required)
  groupLicenseId: string, The ID of the product the group license is for, e.g.
"app:com.google.android.gm". (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
    "user": [ # A user of an enterprise.
      { # A Users resource represents an account associated with an enterprise. The
          # account may be specific to a device or to an individual user (who can then
          # use the account across multiple devices). The account may provide access to
          # managed Google Play only, or to other Google services, depending on the
          # identity model:
          # <ul><li>The Google managed domain identity model requires synchronization to
          # Google account sources (via <code>primaryEmail</code>).</li>
          # <li>The managed Google Play Accounts identity model provides a dynamic means
          # for enterprises to create user or device accounts as needed. These accounts
          # provide access to managed Google Play.</li>
          # </ul>
        "accountType": "A String", # The type of account that this user represents. A <code>userAccount</code>
            # can be installed on multiple devices, but a <code>deviceAccount</code> is
            # specific to a single device. An EMM-managed user (<code>emmManaged</code>)
            # can be either type (<code>userAccount</code>, <code>deviceAccount</code>),
            # but a Google-managed user (<code>googleManaged</code>) is always a
            # <code>userAccount</code>.
        "managementType": "A String", # The entity that manages the user.  With <code>googleManaged</code> users,
            # the source of truth is Google so EMMs have to make sure a Google Account
            # exists for the user.  With <code>emmManaged</code> users, the
            # EMM is in charge.
        "id": "A String", # The unique ID for the user.
        "primaryEmail": "A String", # The user's primary email address, for example, "jsmith@example.com".
            # Will always be set for Google managed users and not set for EMM managed
            # users.
        "displayName": "A String", # The name that will appear in user interfaces. Setting this property is
            # optional when creating EMM-managed users. If you do set this property,
            # use something generic about the organization (such as "Example, Inc.") or
            # your name (as EMM).
            # Not used for Google-managed user accounts.
            # @mutable androidenterprise.users.update
        "accountIdentifier": "A String", # A unique identifier you create for this user, such as "user342" or
            # "asset#44418". Do not use personally identifiable information (PII) for
            # this property. Must always be set for EMM-managed users.
            # Not set for Google-managed users.
      },
    ],
  }