diff options
Diffstat (limited to 'src/vm/securityprincipal.h')
-rw-r--r-- | src/vm/securityprincipal.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/vm/securityprincipal.h b/src/vm/securityprincipal.h deleted file mode 100644 index 5d6b522a27..0000000000 --- a/src/vm/securityprincipal.h +++ /dev/null @@ -1,33 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -#pragma once - -// keep in sync with windowsidentity.cs -#define WINSECURITYCONTEXT_THREAD 1 -#define WINSECURITYCONTEXT_PROCESS 2 -#define WINSECURITYCONTEXT_BOTH 3 - - - -#ifndef FEATURE_PAL -class COMPrincipal -{ -public: -#ifndef FEATURE_CORECLR - static - INT32 QCALLTYPE ImpersonateLoggedOnUser(HANDLE hToken); - - static FCDECL3(INT32, OpenThreadToken, DWORD dwDesiredAccess, DWORD dwOpenAs, SafeHandle** phThreadTokenUNSAFE); - - static - INT32 QCALLTYPE RevertToSelf(); - - static - INT32 QCALLTYPE SetThreadToken(HANDLE hToken); -#endif // !FEATURE_CORECLR - - static void CLR_ImpersonateLoggedOnUser(HANDLE hToken); -}; -#endif // FEATURE_PAL |