ISecurityCallContext interface (comsvcs.h)

Provides access to security methods and information about the security call context of the current call. COM+ applications that use role-based security have access to the security call context property collection through this interface. You can obtain information about any caller in the chain of callers, as well as methods specific to COM+ role-based security. For more information, see Programmatic Component Security.

Inheritance

The ISecurityCallContext interface inherits from the IDispatch interface. ISecurityCallContext also has these types of members:

Methods

The ISecurityCallContext interface has these methods.

 
ISecurityCallContext::get__NewEnum

Retrieves an enumerator for the security call context collection.
ISecurityCallContext::get_Count

Retrieves the number of properties in the security context collection.
ISecurityCallContext::get_Item

Retrieves a specified property in the security call context collection.
ISecurityCallContext::IsCallerInRole

Determines whether the direct caller is in the specified role.
ISecurityCallContext::IsSecurityEnabled

Determines whether security is enabled for the object.
ISecurityCallContext::IsUserInRole

Determines whether the specified user is in the specified role.

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 comsvcs.h

See also

CoGetCallContext

ISecurityCallersColl

ISecurityIdentityColl