sivaramtm Super Contributor.
Super Contributor.
514 views

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
Labels (1)
0 Likes
4 Replies
Knowledge Partner
Knowledge Partner

Re: RoleVault to retrive roles from container

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="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.novell.com/role/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="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.novell.com/role/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.
0 Likes
sivaramtm Super Contributor.
Super Contributor.

Re: RoleVault to retrive roles from container

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,)
0 Likes
Knowledge Partner
Knowledge Partner

Re: RoleVault to retrive roles from container

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?
0 Likes
sivaramtm Super Contributor.
Super Contributor.

Re: RoleVault to retrive roles from container

Yes the logged in user have sufficient rights to see the objects. Yes i am doing this with in a PRD.

Thanks
SivaramT
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.