Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because the id is already returned in the result of the Users.insert call.
See: Google Play EMM API Reference for androidenterprise.users.list
.
- type UsersListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (QueryParam "email" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UsersListResponse))))))
- usersList :: Text -> Text -> UsersList
- data UsersList
- ulEmail :: Lens' UsersList Text
- ulEnterpriseId :: Lens' UsersList Text
REST Resource
type UsersListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (QueryParam "email" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] UsersListResponse)))))) Source #
A resource alias for androidenterprise.users.list
method which the
UsersList
request conforms to.
Creating a Request
Creates a value of UsersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Looks up a user by primary email address. This is only supported for Google-managed users. Lookup of the id is not needed for EMM-managed users because the id is already returned in the result of the Users.insert call.
See: usersList
smart constructor.