YAFLogo

sperr0w
  • sperr0w
  • 67.4% (Friendly)
  • YAF Forumling Topic Starter
13 years ago
Hi! Now I try to migrate to YAF forum from old .Net forum. I create user database file (";" delimiter)
To create user I use membership provider but I dont know, how to set some specific properties like CreationDate, IP and other properties of User from yaf.User table. May be I need to use some specific API of YAF to generate users?
Sponsor

sperr0w
  • sperr0w
  • 67.4% (Friendly)
  • YAF Forumling Topic Starter
13 years ago
I solve the problem. I create new YafUserProfile yafUser = YafContext.Current.GetUser(member) and sett all properties as I need here. And then save yafUser and member.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button