martenhm
(Marten Sjo)
7 September 2018 07:44
1
Hey, I’m trying to create a custom UserRole with the PowerShell API.
I see that it exist in this repository
UserRoles : Octopus.Client.Repositories.UserRolesRepository
That there is an method called: UserRoles.Create()
But what arguments should i use to be able to create an new user role?
Is this reference i should use for finding the correct arguments and argument types i should use?
https://github.com/OctopusDeploy/OctopusClients/blob/master/source/Octopus.Client/Model/UserRoleResource.cs
Kind Regards
Marten
martenhm
(Marten Sjo)
7 September 2018 09:04
2
We solved it by creating a New-Object Octopus.Client.Model.UserRoleResource
So this support ticket can be closed.
Hi Marten,
Thanks for getting in touch and letting us know you’ve solved this question! Please don’t hesitate to reach out if you have any further questions or concerns moving forward.
Best regards,
Kenny
system
(system)
Closed
10 October 2018 01:04
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.