Hi all,
i am new for development using community server. Right now i am facing with saving extended user data. i created my own custom skin file
although i am able to retrieve data but not able to save it .
i tried all the methods to save data but in vain.
User.Update(_user).
i am deperately looking for solution how to save extended user data.
and a demo will be quite appreciable.
Thanks in advance
Ranjan
//Save the valuesUser user = CSContext.Current.User; // this gets the current logged on userUser.SetExtendedAttribute("newattribute", "value");Users.Update(user); //Get the attribute valueUser user = CSContext.Current.Userstring value = user.GetString("newattribute");
//Save the valuesUser user = CSContext.Current.User; // this gets the current logged on userUser.SetExtendedAttribute("newattribute", "value");Users.Update(user);
//Get the attribute valueUser user = CSContext.Current.Userstring value = user.GetString("newattribute");
CS Documentation - now available in downloadable PDF form
My CS Site
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com