internal static WindowsIdentity CloneWindowsIdentityIfNecessary(WindowsIdentity wid) { return(SecurityUtils.CloneWindowsIdentityIfNecessary(wid, null)); }