- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
You need to first call the registerCustomUserField API in
UserManager to register the field. After that you can set the
customField by calling setCustomUserField API.
For e.g.
_userManager.registerCustomUserField (myfield);
For setting the value,
_userManager.setCustomUserField(userID,myfield,value);
Here userID denotes the userID of the user whose descriptor
should have this value.
Then while accessing the value, you will do
userDescriptor.customFields[myfield] .
Hope this helps.
Thanks
Hironmay Basu
You need to first call the registerCustomUserField API in
UserManager to register the field. After that you can set the
customField by calling setCustomUserField API.
For e.g.
_userManager.registerCustomUserField (myfield);
For setting the value,
_userManager.setCustomUserField(userID,myfield,value);
Here userID denotes the userID of the user whose descriptor
should have this value.
Then while accessing the value, you will do
userDescriptor.customFields[myfield] .
Hope this helps.
Thanks
Hironmay Basu
Views
Replies
0 Likes
Total Likes