getUserByEmail
Get the user or users with a given e-mail address
Format
udclient [global-args...] [global-flags...]
getUserByEmail [parameters]
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
string | true | E-mail address of the user | |
allUsers | boolean | false | Specify true to retrieve all users with the e-mail address or false to return only the first user that matches the address |
Example
udclient -username jsmith -password passwd
-weburl https://myserver.example.com:8443
getUserByEmail
-email jsmith@us.ibm.com
-allUsers true
Example response
[{"id":"bade154b-c8c9-4aa6-a875-4b56d7132be5","name":"jsmith"},
{"id":"2c1c9012-2111-4d6a-b5f0-b6cabff94713","name":"janesmith"}]
Related REST command: Get the user or users with a given e-mail address.