PSGitLab
PSGitLab copied to clipboard
get group members
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 :wink: