Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

get group members #213

Open
mnieto opened this issue Nov 6, 2019 · 0 comments
Open

get group members #213

mnieto opened this issue Nov 6, 2019 · 0 comments

Comments

@mnieto
Copy link

mnieto commented Nov 6, 2019

I needed a function for getting the members of a group. I have implemented it and wanted to create a pull request

The syntax function is:
Get-GitlabGroupMembers -Id <number>
or
Get-GitlabGroup -Id <number> | Get-GitlabGroupMembers

This will return a list of objects Gitlab.GroupMember:

id
name
username
state
avatar_url
web_url
access_level 
expires_at 

This function implements only the groups part of the API endpoint https://docs.gitlab.com/ee/api/members.html

There is also a related issue #115, but I just need getting the list of members

If you are ok, I'll try to make my first pull request in Github 😉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant