The SecurityProperty object is used to determine the current object's caller or creator.
Remarks
To use the SecurityProperty object, you must set a reference to Microsoft Transaction Server Type Library (mtxas.dll).
You obtain a reference to an object's SecurityProperty object by calling Security on the object's ObjectContext. For example:
Set secObject = ctxObject.Security
The SecurityProperty object provides the following methods.
Method | Description |
---|---|
GetDirectCallerName | Retrieves the user name associated with the external process that called the currently executing method. |
GetDirectCreatorName | Retrieves the user name associated with the external process that directly created the current object. |
GetOriginalCallerName | Retrieves the user name associated with the base process that initiated the call sequence from which the current method was called. |
GetOriginalCreatorName | Retrieves the user name associated with the base process that initiated the activity in which the current object is executing. |
See Also
Programmatic Security, Advanced Security Methods, ObjectContext Object