PrincipalInfo.CreatePrincipal has been made Obsolete and the description say to use IUserImpersonation. But i can not find any information on IUserImpersonation. Can anyone help me?
var userImpersonation = ServiceLocator.Current.GetInstance<IUserImpersonation>(); userImpersonation.CreatePrincipal("someUserName");
PrincipalInfo.CreatePrincipal has been made Obsolete and the description say to use IUserImpersonation. But i can not find any information on IUserImpersonation. Can anyone help me?