public class AndroidEnterprise.Users extends Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidEnterprise.Users.Delete |
class |
AndroidEnterprise.Users.GenerateAuthenticationToken |
class |
AndroidEnterprise.Users.GenerateToken |
class |
AndroidEnterprise.Users.Get |
class |
AndroidEnterprise.Users.GetAvailableProductSet |
class |
AndroidEnterprise.Users.Insert |
class |
AndroidEnterprise.Users.List |
class |
AndroidEnterprise.Users.Patch |
class |
AndroidEnterprise.Users.RevokeDeviceAccess |
class |
AndroidEnterprise.Users.RevokeToken |
class |
AndroidEnterprise.Users.SetAvailableProductSet |
class |
AndroidEnterprise.Users.Update |
Constructor and Description |
---|
Users() |
Modifier and Type | Method and Description |
---|---|
AndroidEnterprise.Users.Delete |
delete(String enterpriseId,
String userId)
Deleted an EMM-managed user.
|
AndroidEnterprise.Users.GenerateAuthenticationToken |
generateAuthenticationToken(String enterpriseId,
String userId)
Generates an authentication token which the device policy client can use to provision the given
EMM-managed user account on a device.
|
AndroidEnterprise.Users.GenerateToken |
generateToken(String enterpriseId,
String userId)
Generates a token (activation code) to allow this user to configure their managed account in the
Android Setup Wizard.
|
AndroidEnterprise.Users.Get |
get(String enterpriseId,
String userId)
Retrieves a user's details.
|
AndroidEnterprise.Users.GetAvailableProductSet |
getAvailableProductSet(String enterpriseId,
String userId)
Retrieves the set of products a user is entitled to access.
|
AndroidEnterprise.Users.Insert |
insert(String enterpriseId,
User content)
Creates a new EMM-managed user.
|
AndroidEnterprise.Users.List |
list(String enterpriseId,
String email)
Looks up a user by primary email address.
|
AndroidEnterprise.Users.Patch |
patch(String enterpriseId,
String userId,
User content)
Updates the details of an EMM-managed user.
|
AndroidEnterprise.Users.RevokeDeviceAccess |
revokeDeviceAccess(String enterpriseId,
String userId)
Revokes access to all devices currently provisioned to the user.
|
AndroidEnterprise.Users.RevokeToken |
revokeToken(String enterpriseId,
String userId)
Revokes a previously generated token (activation code) for the user.
|
AndroidEnterprise.Users.SetAvailableProductSet |
setAvailableProductSet(String enterpriseId,
String userId,
ProductSet content)
Modifies the set of products that a user is entitled to access (referred to as whitelisted
products).
|
AndroidEnterprise.Users.Update |
update(String enterpriseId,
String userId,
User content)
Updates the details of an EMM-managed user.
|
public AndroidEnterprise.Users.Delete delete(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.GenerateAuthenticationToken generateAuthenticationToken(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.GenerateToken generateToken(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.Get get(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.GetAvailableProductSet getAvailableProductSet(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.Insert insert(String enterpriseId, User content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.content
- the User
IOException
public AndroidEnterprise.Users.List list(String enterpriseId, String email) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.email
- The exact primary email address of the user to look up.IOException
public AndroidEnterprise.Users.Patch patch(String enterpriseId, String userId, User content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.content
- the User
IOException
public AndroidEnterprise.Users.RevokeDeviceAccess revokeDeviceAccess(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.RevokeToken revokeToken(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.IOException
public AndroidEnterprise.Users.SetAvailableProductSet setAvailableProductSet(String enterpriseId, String userId, ProductSet content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.content
- the ProductSet
IOException
public AndroidEnterprise.Users.Update update(String enterpriseId, String userId, User content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.content
- the User
IOException
Copyright © 2011–2019 Google. All rights reserved.