Anonymous_User Absent Member.
Absent Member.
249 views

RoleVault.getRoleAssignmentCause

I cannot seem to get any result from RoleVault.getRoleAssignmentCause
This is the code I am trying.
I have made the user on [root] to rule out rights.
Anyway, the event.getCustomData() is the users DN.
I am able to get a list of roles assigned using RoleVault.getRolesToUserAssignments.
But
var vIdBeans = RoleVault.getRoleAssignmentCause(event.getCustomData(),currentBean.getTargetDn())
Returns a size of 0.
Can anyone see what is wrong?

var vRoleBeans = RoleVault.getRolesToUserAssignments(event.getCustomData())
if(vRoleBeans.size()>0){
for (i = 0; i<vRoleBeans.size(); i++) {
var currentBean = vRoleBeans.get(i);
var vIdBeans = RoleVault.getRoleAssignmentCause(event.getCustomData(),currentBean.getTargetDn())
form.showDebugMsg('IDBEANs Size: ' + vIdBeans.size() + "based on u:" + event.getCustomData() + ' and r: ' + currentBean.getTargetDn())
if (vIdBeans.size()>0) {
for (iX = 0; iX<vIdBeans.size(); iX++) {
// Fill in when I get to this
}
}
}
}

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

Re: RoleVault.getRoleAssignmentCause

Nicolai,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.netiq.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.netiq.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.netiq.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your NetIQ Forums Team
http://forums.netiq.com


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.