An application to get user attributes and groups via the DBus API
git clone [email protected]:ManageIQ/dbus_api_service.git
cd dbus_api_service
Run the service:
bin/dbus_api_service
-
GET /api/user_attrs/:user_id?attributes=x,y
Fetches the attributes of the specified user. If specific attributes are specified, then only those will be returned. By default, only the following attributes are returned:
- givenname
- sn
- displayname
- domainname
-
GET /api/user_groups/:user_id
Fetches the groups of the specified user.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
The gem is available as open source under the terms of the MIT License.