ASP.NET 4.0,C#,WCF,WF,MVC,Silverlight,Sharepoint
GenericIdentity identity = new GenericIdentity("engin"); GenericPrincipal user = new GenericPrincipal(identity, new[] { "admin" });
context.User = user;
No comments:
Post a Comment