The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
AtlGetOwnerSid
Call this function to retrieve the owner security identifier (SID) of an object.
Important |
|---|
This function cannot be used in applications that execute in the Windows Runtime. |
inline bool AtlGetOwnerSid(
HANDLE hObject,
SE_OBJECT_TYPE ObjectType,
CSid* pSid
) throw(...);
- hObject
Handle to the object from which to retrieve security information.
- ObjectType
Specifies a value from the SE_OBJECT_TYPE enumeration that indicates the type of object identified by the hObject parameter.
- pSid
Pointer to a CSid object which will contain the new security information.
Returns true on success, false on failure.
Requirements
Header: atlsecurity.h
Show:
