on 07-10-2009 5:03 PM
All,
A quick question. How do we replace the value of role attribute with some other value? When I try to set it, the new role is just getting appended. I wanted to remove the olde role and set the new role. I know I can remove the roles by setting . is there any thing similar to replace as well?
Thanks,
BIju.
Actually Biju, is exactly what you need - it is replace, not remove. = Add and is the default behavior, as you've seen = Delete and will clear all values for the attribute = Replace - it will delete all existing values and add whatever values follow the like: <newrolename>
Edited by: Geoff Curtis on Jul 10, 2009 1:04 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.