Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

ACC Administrator tutorial - include Project members Access Level(s)

kevin.bza
Enthusiast

ACC Administrator tutorial - include Project members Access Level(s)

kevin.bza
Enthusiast
Enthusiast

Greetings,

https://tutorials.autodesk.io/tutorials/acc-admin/

This tutorial helped a lot. Thank You!
When displaying the Project User table, is a code edit available to include the Access Level(s) of the Project Users.
Access levels being: Project Member, Project Administrator or Executive.
Thanks for your patience,
K.

0 Likes
Reply
434 Views
1 Reply
Reply (1)

kevin.bza
Enthusiast
Enthusiast

I am busy with this, found a temporary solution ... 

... Edit the Hub Browser tutorial sample

... ... adjust the scope set in the APC.CS class

... ... in the PREPARETOKENS method of the AUTHCONTROLLER.CS class, add a break at the result of the method to provide a chance to capture the token values

Run the solution, copy a token value to the clipboard

Add the token value to a CURL call like

 

curl -v 'https://developer.api.autodesk.com/construction/admin/v1/projects/valid-project-id/users' -H 'Authorization: Bearer token-value'

 

Execute the CURL in Terminal and ... Viola! ... the JSON has all the user data, including the access level per user.

 

json-user.png

0 Likes