How can get registered user email

Hi ,I am developing a plugin to get detail of registered user by below mentioned code

var user = Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.Users>().List(new UsersListOptions() { });


var userList = ((IList<Telligent.Evolution.Extensibility.Api.Entities.Version1.User>)user);


userList.Select(x => new { x.DisplayName, x.PrivateEmail, x?.JoinDate, x.PublicEmail }).ToList();

what happening i am getting empty in public mail , and getting empty in private email except logined user, how can i get the email of all registered user.

Thanks

Parents Reply Children
No Data