Is it possible to display on a combobox or dropdown the members of a specific group in SharePoint?
Thanks in advance.
Solved! Go to Solution.
Hi @Lym ,
There is no direct way we can read the list of users added in SharePoint groups however yes you can read all the users added as part of Office 365 group using Office 365 group connector as below:
Office365Groups.ListGroupMembers("<< Office 365 Group Number >>")
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.
Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.
If it about displaying office365 groups, then watch this video:
https://youtu.be/d0Ra0qr29JM?t=11
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @Lym ,
There is no direct way we can read the list of users added in SharePoint groups however yes you can read all the users added as part of Office 365 group using Office 365 group connector as below:
Office365Groups.ListGroupMembers("<< Office 365 Group Number >>")
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.
Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.
Hi @Lym ,
Do you want to list all the group members of one specific group?
If so, you need to use Office365Groups.ListGroupMembers function. Just as @eka24 said, but I want to add some words.
Firstly, you need to connect with office365 groups connector.
Secondly, set your drop down's Items:
Office365Groups.ListGroupMembers("group object id").value
Do not forget the ".value" part, or else you will get error.
What's more, you could find a group's object id in azure admin center:
Here's a doc about this connector for your reference:
https://docs.microsoft.com/en-us/connectors/office365groups/#list-group-members
Best regards,
User | Count |
---|---|
254 | |
252 | |
82 | |
45 | |
27 |
User | Count |
---|---|
350 | |
267 | |
127 | |
61 | |
58 |