IServerSecurity interface (objidl.h)

Used by a server to help authenticate the client and to manage impersonation of the client.

Inheritance

The IServerSecurity interface inherits from the IUnknown interface. IServerSecurity also has these types of members:

Methods

The IServerSecurity interface has these methods.

 
IServerSecurity::ImpersonateClient

The IServerSecurity::ImpersonateClient method (objidl.h) enables a server to impersonate a client for the duration of a call.
IServerSecurity::IsImpersonating

The IServerSecurity::IsImpersonating method (objidl.h) indicates whether the server is currently impersonating the client.
IServerSecurity::QueryBlanket

The IServerSecurity::QueryBlanket method (objidl.h) retrieves information about the client that invoked one of the server's methods.
IServerSecurity::RevertToSelf

The IServerSecurity::RevertToSelf method (objidl.h) restores the authentication information of a thread to what it was before impersonation began.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h (include ObjIdl.h)

See also

CoGetCallContext

CoSwitchCallContext

Security in COM