The user specific folders will be created under /Data/Sites/[SiteID]/userfiles/[UserID]
but the folder is not created until the first time the user tries to use the file manager or upload files via the editor. If you want to create them when the user is created you would need to implement the userRegistered handler to do that.
Writing this without testing but something like this snippet inside a UserRegisteredEventHandler:
using mojoPortal.Web.Framework;
public override void UserRegisteredHandler(object sender, UserRegisteredEventArgs e)
{
//if (sender == null) return;
if (e == null) return;
if (e.SiteUser == null) return;
string userBasePath = System.Web.Hosting.HostingEnvironment.MapPath("~/Data/Sites/" + e.SiteUser.SiteID.ToInvariantString() + "/userfiles/ )
if(!Directory.Exists(userBasePath)) { Directory.CreateDirectory(userBasePath); }
string userPath = userBasePath + e.SiteUser.UserID.ToInvariantString();
if(!Directory.Exists(userPath)) { Directory.CreateDirectory(userPath); }
}
probably would want to wrap it in try catch and log any error in the catch
Hope it helps,
Joe