SecurityContext.Capture Metodo
Definizione
Acquisisce il contesto di sicurezza per il thread corrente.Captures the security context for the current thread.
public:
static System::Security::SecurityContext ^ Capture();
public static System.Security.SecurityContext Capture ();
static member Capture : unit -> System.Security.SecurityContext
Public Shared Function Capture () As SecurityContext
Restituisce
Contesto di sicurezza per il thread corrente.The security context for the current thread.
Commenti
Il contesto di sicurezza acquisito può essere applicato a un altro thread.The captured security context can be applied to another thread. È costituito CompressedStack da e WindowsIdentity per il thread in esecuzione. SecurityContextThe SecurityContext consists of the CompressedStack and the WindowsIdentity for the executing thread.