Forum Discussion
Umag98
Feb 07, 2022Brass Contributor
how to get user id from the endpoint /teams/{team-id}/channels/{channel-id}/members
is there a way to get the userid when we use get members of the channel endpoint.
- Feb 08, 2022i have figured it out , we have to cast it ((AadUserConversationMember)res).UserId.
Thanks for your replies
Umag98
Feb 08, 2022Brass Contributor
ChetanSharma-msft -
it is not just to the members of channel, but also to chat members.
https://docs.microsoft.com/en-us/graph/api/chat-list-members?view=graph-rest-1.0&tabs=http , i have tried in graph explorer it seems to get the userId for chat but in graph sdk
Umag98
Feb 08, 2022Brass Contributor
i have figured it out , we have to cast it ((AadUserConversationMember)res).UserId.
Thanks for your replies
Thanks for your replies