pp108 : GetRolesForOrganization

GetRolesForOrganization


This Web service operation retrieves all roles within an organization.

SOAP Request

<GetRolesForOrganization xmlns="http://schemas.cordys.com/1.0/ldap">
    <dn>o=system,cn=cordys,cn=defaultInst,o=vanenburg.com</dn>
</GetRolesForOrganization>

Table 1. Request Parameters

Parameter

Description

dn

The distinguished name of the organization.

sort

Sorts the roles in the specified order (ascending or descending).


SOAP Response

<GetRolesForOrganizationResponse
    xmlns="http://schemas.cordys.com/1.0/ldap" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <tuple>
        <old>
            <entry dn="cn=everyoneInsystem,cn=organizational roles,o=system,cn=cordys,cn=defaultInst,o=vanenburg.com">
                <busorganizationalroletype>
                    <string>Internal</string>
                </busorganizationalroletype>
                <description>
                    <string>Everyone In System</string>
                </description>
                <role>
                    <string>cn=everyone,cn=Cordys ESBServer,cn=cordys,cn=defaultInst,o=vanenburg.com</string>
                </role>
                <cn>
                    <string>everyoneInsystem</string>
                </cn>
                <objectclass>
                    <string>top</string>
                    <string>busorganizationalrole</string>
                    <string>busorganizationalobject</string>
                </objectclass>
            </entry>
        </old>
    </tuple> ..... .... </GetRolesForOrganizationResponse>