Accessing a users permission #492
Replies: 3 comments 4 replies
-
You could try and retrieve current IP tags; that should prove it as I believe the User-ID XML API permission allows for adding, removing and listing tags. You could also potentially enumerate the administrator name, gather the Admin Role assigned to that administrator, then see if the Admin Role in question has "User-ID" enabled for XML API. But that's a much longer process, checking current IP tags is much quicker. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, listing tags doesn't require the How would I enumerate the admin name? I couldn't find an obvious reference to it in the docs |
Beta Was this translation helpful? Give feedback.
-
Do you have the administrator username and password, or just an API key? If you have the former, you have the admin name? |
Beta Was this translation helpful? Give feedback.
-
I'm using this library to provide automated IP tagging actions for users, however, to do this I need to know if the credentials provided by the user have permission to perform this action.
Is there a way I can either see the permissions of a given user, specifically the one I created the device with, or check if the user has XML permissions to tag IPs? (Without trying to actually tag an IP)
Beta Was this translation helpful? Give feedback.
All reactions