예제 #1
0
        //protected TFS.Security.Impersonation imp = new TFS.Security.Impersonation();

        protected void Security_Start(object sender, Cridion.Web.Controls.SecurityEventArgs e)
        {
            //imp.ImpersonateWithToken((IntPtr)Session["LoginToken"]);
        }
예제 #2
0
 protected void Security_End(object sender, Cridion.Web.Controls.SecurityEventArgs e)
 {
     //imp.UnImpersonate();
 }
예제 #3
0
 void DocViewer_SecurityViolation(object sender, Cridion.Web.Controls.SecurityEventArgs e)
 {
     //Response.Write(((Cridion.Web.Controls.FileSystemSecurityException)e.ThrownException).WindowsIdentity.Name);
     throw e.ThrownException;
 }