This discussion is archived
1 Reply Latest reply: Oct 26, 2012 6:38 AM by user243865 RSS

accounts[$(name)].properties use query...

user243865 Newbie
Currently Being Moderated
I can add an accounts[$(name)].properties.myprop to the userview and read them easily...

but how do I get that info when changing passwords?
It doesn't seem to load the properties in when changing passwords per default... I see the data on the accounts only, not the associated attributes...
what am I missing here?

/D
  • 1. Re: accounts[$(name)].properties use query...
    user243865 Newbie
    Currently Being Moderated
    So,

    I figured out i can get the user view into my change password form, seems costly though
    all I need really are the userview.accounts[*].properties
    and only one specific property at that, boolean true/false called pwsafe

    i.e. userview.accounts[$(name)].properties.pwsafe

    this boolean is then supposed to be used to "hide" certain accounts from the user in the FieldLoop, which seems a bit complicatec :P

    Maybe someone else has a good idea on how to implement it?

    What we want is to be able to set a property as admin on any account a user in IdM has (except Lighthouse) and by doing so
    hiding that account from the user in change password views and never ever changing password on it, sync or no sync

    and Admin should still be able to switch off this flag and change/reset passwords

    we want the account linked to a specific user since it will then be deleted with the user when that times comes and also
    to have these account come up in reports made on the user.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points