androidenterprise
v1
|
#include <user.h>
Public Member Functions | |
User (const Json::Value &storage) | |
User (Json::Value *storage) | |
virtual | ~User () |
const StringPiece | GetTypeName () const |
bool | has_account_identifier () const |
void | clear_account_identifier () |
const StringPiece | get_account_identifier () const |
void | set_account_identifier (const StringPiece &value) |
bool | has_account_type () const |
void | clear_account_type () |
const StringPiece | get_account_type () const |
void | set_account_type (const StringPiece &value) |
bool | has_display_name () const |
void | clear_display_name () |
const StringPiece | get_display_name () const |
void | set_display_name (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_management_type () const |
void | clear_management_type () |
const StringPiece | get_management_type () const |
void | set_management_type (const StringPiece &value) |
bool | has_primary_email () const |
void | clear_primary_email () |
const StringPiece | get_primary_email () const |
void | set_primary_email (const StringPiece &value) |
Static Public Member Functions | |
static User * | New () |
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:
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'accountIdentifier
' attribute.
|
inline |
Clears the 'accountType
' attribute.
|
inline |
Clears the 'displayName
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'managementType
' attribute.
|
inline |
Clears the 'primaryEmail
' attribute.
|
inline |
Get the value of the 'accountIdentifier
' attribute.
|
inline |
Get the value of the 'accountType
' attribute.
|
inline |
Get the value of the 'displayName
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'managementType
' attribute.
|
inline |
Get the value of the 'primaryEmail
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'accountIdentifier
' attribute was set.
accountIdentifier
' attribute was set.
|
inline |
Determine if the 'accountType
' attribute was set.
accountType
' attribute was set.
|
inline |
Determine if the 'displayName
' attribute was set.
displayName
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'managementType
' attribute was set.
managementType
' attribute was set.
|
inline |
Determine if the 'primaryEmail
' attribute was set.
primaryEmail
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'accountIdentifier
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'accountType
' attribute.
The type of account that this user represents. A userAccount can be installed on multiple devices, but a deviceAccount is specific to a single device. An EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount), but a Google-managed user (googleManaged) is always a userAccount.
[in] | value | The new value. |
|
inline |
Change the 'displayName
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
The unique ID for the user.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[in] | value | The new value. |
|
inline |
Change the 'managementType
' attribute.
The entity that manages the user. With googleManaged users, the source of truth is Google so EMMs have to make sure a Google Account exists for the user. With emmManaged users, the EMM is in charge.
[in] | value | The new value. |
|
inline |
Change the 'primaryEmail
' attribute.
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.
[in] | value | The new value. |