RoleVault to retrive roles from container

Hi,

Can some one help on how to retrieve the roles from level 10 counter using Rolevault methods instead of DAL components.

Regards
Sivaram T
  • sivaramtm;2484131 wrote:
    Hi,

    Can some one help on how to retrieve the roles from level 10 counter using Rolevault methods instead of DAL components.

    Regards
    Sivaram T


    What have you tried? What are you trying it from? If you're in SoapUI, you can get all roles from:


    <soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:ser="">www.novell.com/.../service">
    <soapenv:Header/>
    <soapenv:Body>
    <ser:findRoleByExampleWithOperatorRequest>
    <!--Optional:-->
    <ser:role>
    <ser:name>*</ser:name>
    </ser:role>
    </ser:findRoleByExampleWithOperatorRequest>
    </soapenv:Body>
    </soapenv:Envelope>


    You could try some of the other options in that particular request, like:


    <ser:roleLevel>
    <ser:container>?</ser:container>
    <ser:description>?</ser:description>
    <ser:level>?</ser:level>
    <ser:name>?</ser:name>
    </ser:roleLevel>


    to see what you can get that way.

    There's also:


    <soapenv:Envelope xmlns:soapenv="">schemas.xmlsoap.org/.../" xmlns:ser="">www.novell.com/.../service">
    <soapenv:Header/>
    <soapenv:Body>
    <ser:getRolesInfoByLevelRequest>
    <!--Optional:-->
    <ser:roleLevels>
    <!--Zero or more repetitions:-->
    <ser:long>30</ser:long>
    </ser:roleLevels>
    </ser:getRolesInfoByLevelRequest>
    </soapenv:Body>
    </soapenv:Envelope>


    So, tell us what you're doing, what you've tried, and what happens.
  • I have tried using below method in a picklist onload event and not getting required input.
    Can you please suggest is there any other methods with example to retrieve the roles from the container.

    RoleVault.findRoles('CN','equals','PicklistRoles,cn=Level10,cn=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=UserApplication,cn=driverset1,o=system',10,)
  • sivaramtm;2484226 wrote:
    I have tried using below method in a picklist onload event and not getting required input.
    Can you please suggest is there any other methods with example to retrieve the roles from the container.

    RoleVault.findRoles('CN','equals','PicklistRoles,cn=Level10,cn=RoleDefs,cn=RoleConfig,cn=AppConfig,cn=UserApplication,cn=driverset1,o=system',10,)


    You're doing this from within a PRD form then? Does the logged in user have sufficient rights to see the objects?
  • Yes the logged in user have sufficient rights to see the objects. Yes i am doing this with in a PRD.

    Thanks
    SivaramT