Ankündigung

Einklappen
Keine Ankündigung bisher.

getMemberShipSets problem

Einklappen
X

getMemberShipSets problem

Einklappen
  • Filter
  • Zeit
Alles löschen
neue Beiträge

  • getMemberShipSets problem

    Hi I'm with one problem and I would like to know if there is a quick solution
    I used this code:

    Code:
    #set($userMembership = $portal.getOrgStructure().getMembershipSets($User))
    that gives me a list of VelocityDsSetNode with the id and the name of each right of the user.
    I need to have only a list of guids of each rights, I would like to know if there is a way to only get the ids.

    I checked the class VelocityDsSetNode and one of his Methods is this one:
    Code:
    public int getClassId()
    but is not working at least for me. Do you know how I could make this?

    Regards!


  • #2
    I solved it, I just get the list of guid from the database, split it.
    And then compare with the example of the function of Intrexx.


    Code:
    #set($groupGuids = $TextUtil.split($authList, '||'))
    
    #if ($userMembership.intersects($groupGuids))
    #set($null = $listNotificationStatus.put($!reasonCodeAndDesc, $!reasonCodeAndDesc))
    #end
    Thanks!

    Kommentar

    Lädt...
    X