getUserEmails

Back to index

Summary

Retrieves all user/email mappings for the specified user.
userName
Stringrequired
User that contains this email.

Usage

Perl

$cmdr->getUserEmails( "test-userName" # userName );

ectool

ectool getUserEmails \ "test-userName" `# userName`

Examples

ectool

ectool getUserEmails mjones

Response:

<response requestId="1" nodeId="192.168.1.217"> <userEmail> <userEmailId>55d262d6-faf3-11eb-9c33-4ccc6a9b547d</userEmailId> <createTime>2021-08-11T22:27:38.878Z</createTime> <email>mary.jones@example.com</email> <lastModifiedBy>admin</lastModifiedBy> <modifyTime>2021-08-11T22:27:38.878Z</modifyTime> <owner>admin</owner> <status>UNVERIFIED</status> <userName>mjones</userName> </userEmail> <userEmail> <userEmailId>425696f5-faf3-11eb-8eb6-4ccc6a9b547d</userEmailId> <createTime>2021-08-11T22:27:06.127Z</createTime> <email>mjones2@example.com</email> <lastModifiedBy>admin</lastModifiedBy> <modifyTime>2021-08-11T22:27:06.127Z</modifyTime> <owner>admin</owner> <status>UNVERIFIED</status> <userName>mjones</userName> </userEmail> </response>