public class AndroidEnterprise.Users
extends java.lang.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.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(java.lang.String enterpriseId,
java.lang.String userId)
Deleted an EMM-managed user.
|
AndroidEnterprise.Users.GenerateAuthenticationToken |
generateAuthenticationToken(java.lang.String enterpriseId,
java.lang.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(java.lang.String enterpriseId,
java.lang.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(java.lang.String enterpriseId,
java.lang.String userId)
Retrieves a user's details.
|
AndroidEnterprise.Users.GetAvailableProductSet |
getAvailableProductSet(java.lang.String enterpriseId,
java.lang.String userId)
Retrieves the set of products a user is entitled to access.
|
AndroidEnterprise.Users.Insert |
insert(java.lang.String enterpriseId,
User content)
Creates a new EMM-managed user.
|
AndroidEnterprise.Users.List |
list(java.lang.String enterpriseId,
java.lang.String email)
Looks up a user by primary email address.
|
AndroidEnterprise.Users.RevokeDeviceAccess |
revokeDeviceAccess(java.lang.String enterpriseId,
java.lang.String userId)
Revokes access to all devices currently provisioned to the user.
|
AndroidEnterprise.Users.RevokeToken |
revokeToken(java.lang.String enterpriseId,
java.lang.String userId)
Revokes a previously generated token (activation code) for the user.
|
AndroidEnterprise.Users.SetAvailableProductSet |
setAvailableProductSet(java.lang.String enterpriseId,
java.lang.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(java.lang.String enterpriseId,
java.lang.String userId,
User content)
Updates the details of an EMM-managed user.
|
public AndroidEnterprise.Users.Delete delete(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.GenerateAuthenticationToken generateAuthenticationToken(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.GenerateToken generateToken(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.Get get(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.GetAvailableProductSet getAvailableProductSet(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.Insert insert(java.lang.String enterpriseId, User content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.content
- the User
java.io.IOException
public AndroidEnterprise.Users.List list(java.lang.String enterpriseId, java.lang.String email) throws java.io.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.java.io.IOException
public AndroidEnterprise.Users.RevokeDeviceAccess revokeDeviceAccess(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.RevokeToken revokeToken(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Users.SetAvailableProductSet setAvailableProductSet(java.lang.String enterpriseId, java.lang.String userId, ProductSet content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.content
- the ProductSet
java.io.IOException
public AndroidEnterprise.Users.Update update(java.lang.String enterpriseId, java.lang.String userId, User content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.content
- the User
java.io.IOException