@using System.Security.Principal @using System.Threading @model dynamic @{ Layout = null; } Windows Authentication Details

Windows Authentication Details

User Identity

Thread Identity

@{ WindowsIdentity windowsIdentity = WindowsIdentity.GetCurrent(); } @if (windowsIdentity != null) {

Windows Identity

} @if (windowsIdentity != null) {

Group Membership:

} <%@ Page Language="C#" %> <%@ Import Namespace="System.Security.Principal" %> <%@ Import Namespace="System.Threading" %> Windows Authentication Details

Windows Authentication Details

User Identity

Thread Identity

Windows Identity

<% WindowsIdentity windowsIdentity = WindowsIdentity.GetCurrent(); %>

Group Membership: