Programming Guide



sm_mts_IsSecurityEnabled

Determines if security checking is enabled

int sm_mts_IsSecurityEnabled(void);

Environment

MTS

Scope

Server

Returns

Description

sm_mts_IsSecurityEnabled queries whether the current object has security checking on.

For more details see the IsSecurityEnabled method under IObjectContextMethods in the MTS documentation.

Note that this function requires an object context and therefore cannot be used in the constructor of a service component.

See Also

sm_mts_IsCallerInRole