blob: 78d4f8982e18e85a7833121662127a797e5a5807 [file] [log] [blame]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="androidenterprise_v1.html">Google Play EMM API</a> . <a href="androidenterprise_v1.grouplicenseusers.html">grouplicenseusers</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list">list(enterpriseId, groupLicenseId, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the IDs of the users who have been granted entitlements</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="list">list(enterpriseId, groupLicenseId, x__xgafv=None)</code>
<pre>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.
&quot;app:com.google.android.gm&quot;. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
&quot;user&quot;: [ # 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:
# &lt;ul&gt;&lt;li&gt;The Google managed domain identity model requires synchronization to
# Google account sources (via &lt;code&gt;primaryEmail&lt;/code&gt;).&lt;/li&gt;
# &lt;li&gt;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.&lt;/li&gt;
# &lt;/ul&gt;
&quot;accountType&quot;: &quot;A String&quot;, # The type of account that this user represents. A &lt;code&gt;userAccount&lt;/code&gt;
# can be installed on multiple devices, but a &lt;code&gt;deviceAccount&lt;/code&gt; is
# specific to a single device. An EMM-managed user (&lt;code&gt;emmManaged&lt;/code&gt;)
# can be either type (&lt;code&gt;userAccount&lt;/code&gt;, &lt;code&gt;deviceAccount&lt;/code&gt;),
# but a Google-managed user (&lt;code&gt;googleManaged&lt;/code&gt;) is always a
# &lt;code&gt;userAccount&lt;/code&gt;.
&quot;managementType&quot;: &quot;A String&quot;, # The entity that manages the user. With &lt;code&gt;googleManaged&lt;/code&gt; users,
# the source of truth is Google so EMMs have to make sure a Google Account
# exists for the user. With &lt;code&gt;emmManaged&lt;/code&gt; users, the
# EMM is in charge.
&quot;id&quot;: &quot;A String&quot;, # The unique ID for the user.
&quot;primaryEmail&quot;: &quot;A String&quot;, # The user&#x27;s primary email address, for example, &quot;jsmith@example.com&quot;.
# Will always be set for Google managed users and not set for EMM managed
# users.
&quot;displayName&quot;: &quot;A String&quot;, # 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 &quot;Example, Inc.&quot;) or
# your name (as EMM).
# Not used for Google-managed user accounts.
# @mutable androidenterprise.users.update
&quot;accountIdentifier&quot;: &quot;A String&quot;, # A unique identifier you create for this user, such as &quot;user342&quot; or
# &quot;asset#44418&quot;. Do not use personally identifiable information (PII) for
# this property. Must always be set for EMM-managed users.
# Not set for Google-managed users.
},
],
}</pre>
</div>
</body></html>