Anonymous_User Absent Member.
Absent Member.
308 views

RoleVault error in IDM 4.5


Hi

After upgrading to IDM 4.5 some RoleVault functions behave differently.

I have a script which uses
RoleVault.getRolesToGroupAssignments(groupName) to get roles assigned to
the selected group.
The I use RoleVault.getRolesToRoleAssignments(roleDN) to get childroles
for the role returned.

I get the role assigned to the group, but getRolesToRoleAssignments
returns an error:
> 'Error: Error occured evaluating a RoleVault service, refer to embedded
> exception for further details.'


Sample code:
// get roles assigned to the group
roleobj = RoleVault.getRolesToGroupAssignments(groupDN);
// get first role and convert object to string
roleDN = roleobj.get(0).getTargetDn() + "";
//get childroles of the role
childRole = RoleVault.getRolesToRoleAssignments(roleDN);

I could really use som help.

- martin


--
moldin
------------------------------------------------------------------------
moldin's Profile: https://forums.netiq.com/member.php?userid=118
View this thread: https://forums.netiq.com/showthread.php?t=53207

Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: RoleVault error in IDM 4.5

On 03/27/2015 11:07 AM, moldin wrote:
>
> Hi
>
> After upgrading to IDM 4.5 some RoleVault functions behave differently.
>
> I have a script which uses
> RoleVault.getRolesToGroupAssignments(groupName) to get roles assigned to
> the selected group.
> The I use RoleVault.getRolesToRoleAssignments(roleDN) to get childroles
> for the role returned.
>
> I get the role assigned to the group, but getRolesToRoleAssignments
> returns an error:
>> 'Error: Error occured evaluating a RoleVault service, refer to embedded
>> exception for further details.'

>
> Sample code:
> // get roles assigned to the group
> roleobj = RoleVault.getRolesToGroupAssignments(groupDN);
> // get first role and convert object to string
> roleDN = roleobj.get(0).getTargetDn() + "";
> //get childroles of the role
> childRole = RoleVault.getRolesToRoleAssignments(roleDN);
>
> I could really use som help.
>
> - martin
>
>

Greetings Martin,
What version did you upgrade from?

--

Sincerely,
Steven Williams
Lead Software Engineer
NetIQ
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.