MicrosoftDocs / vsts-rest-api-specs

MIT License
164 stars 116 forks source link

Retrieve Group Security Identity? #204

Open SudoBrendan opened 5 years ago

SudoBrendan commented 5 years ago

I've been researching for a while trying to get the Microsoft.TeamFoundation.Identity of a given Group in order to automate granting/denying access/permissions of Groups via the api using Security Access Control Entities. The Group object does have the descriptor property, but this doesn't map into urls like https://{organization}.vssps.visualstudio.com/_apis/Identities?descriptors={descriptor} .

The Team object contains a mapping to identityUrl which is what I'm ultimately after... Does such a map or chain of calls exist with Group objects that I'm missing?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

SudoBrendan commented 5 years ago

Found an answer https://stackoverflow.com/a/55874717 - maybe this should be added to the docs somehow? I don't see much on queries for https://{organization}.vssps.visualstudio.com/_apis/Identities