UsersResource class Null safety


UsersResource(ApiRequester client)


hashCode int
The hash code for this object.
runtimeType Type
A representation of the runtime type of the object.


delete(String enterpriseId, String userId, {String? $fields}) Future<void>
Deleted an EMM-managed user.
generateAuthenticationToken(String enterpriseId, String userId, {String? $fields}) Future<AuthenticationToken>
Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device.
get(String enterpriseId, String userId, {String? $fields}) Future<User>
Retrieves a user's details.
getAvailableProductSet(String enterpriseId, String userId, {String? $fields}) Future<ProductSet>
Retrieves the set of products a user is entitled to access.
insert(User request, String enterpriseId, {String? $fields}) Future<User>
Creates a new EMM-managed user.
list(String enterpriseId, String email, {String? $fields}) Future<UsersListResponse>
Looks up a user by primary email address.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
revokeDeviceAccess(String enterpriseId, String userId, {String? $fields}) Future<void>
Revokes access to all devices currently provisioned to the user.
setAvailableProductSet(ProductSet request, String enterpriseId, String userId, {String? $fields}) Future<ProductSet>
Modifies the set of products that a user is entitled to access (referred to as whitelisted products).
toString() String
A string representation of this object.
update(User request, String enterpriseId, String userId, {String? $fields}) Future<User>
Updates the details of an EMM-managed user.


operator ==(Object other) bool
The equality operator.