Hi,
Can you please provide us with the exception you get from the User profile module ?
if you have AD, Windows authentication and ASP.NET impersonation turned on then your users are automatically authenticated. In that case you need to call the following method in some Web site entry point:
UserRepository repository = UserRepository.GetInstance();
AspnetUsersEntity authenticatedUser = repository.GetUser(
this
.Page.User.Identity.Name);
if
(authenticatedUser ==
null
)
{
if
(!repository.CreateUserManually(
this
.Page.User.Identity.Name))
{
//Your error custom message
return
;
}
}
MonoSoftware.MonoX.BusinessLayer.UserProfileBLL.GetInstance().GetCachedUserProfile(SecurityUtility.GetUserId());
If you need further help let us know.
Regards