volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

PrincipalInfo.CreatePrincipal is Obsolete

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?

#178627
May 16, 2017 9:11
Vote:
var userImpersonation =  ServiceLocator.Current.GetInstance<IUserImpersonation>();
userImpersonation.CreatePrincipal("someUserName");
#178630
May 16, 2017 10:23
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.