20.09.2011 09:20:58
15993
Reputation
2214
Total posts
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
Bewertungsverlauf (Inhalt von 0 Besucher(n) mit 0,00 bewertet)
Anzeige der Bewertung und der Personen, die den Inhalt bewertet haben.