ldap-server/maprole

Configures, modifies, or retrieves LDAP server settings for maps.

Resource URIs

URI Description
<base_URI>/config/running/ldap-server/maprole Maps a role to a group.

Parameters

ad-group
AD group belongs to user on the AD Server.
role
Specifies the role name.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option to retrieve the configuration details.

http://host:80/rest/config/running/ldap-server/maprole

None

<maprole y:self="/rest/config/running/ldap-server/maprole">
  <group y:self="/rest/config/running/ldap-server/maprole/group/administrator">
    <ad-group>administrator</ad-group>
    <role>admin</role>
  </group>
</maprole>

URI

The following is an example of the POST operation to map a role to a group.

http://host:80/rest/config/running/ldap-server/maprole

<group>
  <ad-group>administrator</ad-group>
  <role>admin</role>
</group>

None

URI

The following is an example of the DELETE operation to a maprole configuration.

http://host:80/rest/config/running/ldap-server/maprole/group

None

None