Sets the default level of impersonation for applications that do not call CoInitializeSecurity.
Registry Entry
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE\LegacyImpersonationLevel= default_impersonation_level
Remarks
The LegacyImpersonationLevel named-value is a REG_WORD that sets the default level of impersonation. The values, from 1 through 4, correspond to the values of the RPC_C_IMP_LEVEL_xxx constants.
Value |
Meaning |
1 |
RPC_C_IMP_LEVEL_ANONYMOUS |
2 |
RPC_C_IMP_LEVEL_IDENTIFY |
3 |
RPC_C_IMP_LEVEL_IMPERSONATE |
4 |
RPC_C_IMP_LEVEL_DELEGATE |
See Also