[This is preliminary documentation and subject to change.]
The GetNtmsObjectSecurity function reads the security descriptor for the specified RSM object.
DWORD WINAPI GetNtmsObjectSecurity(
HANDLE hSession,
LPNTMS_GUID lpObjectId,
DWORD dwType,
SECURITY_INFORMATION RequestedInformation,
PSECURITY_DESCRIPTOR lpSecurityDescriptor,
DWORD nLength,
LPDWORD lpnLengthNeeded
);
RSM security uses the same security descriptors and information members that Windows NT security uses. This allows the standard security dialog boxes to be used to select RSM security.
For more information on Windows NT security, see the SetPrivateObjectSecurity function and the security section in the Platform SDK. For more information on RSM security, see RSM Security.
Windows NT: Requires version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in ntmsapi.h.
Import Library: Use ntmsapi.lib.
Object Management Functions, EnumerateNtmsObject, SetNtmsObjectSecurity