adTempus API
PreviousUpNext
ISecurityDescriptor::Save Method

Saves any changes made to the security descriptor.

C++
HRESULT Save();
C#
Save();
Visual Basic
Sub Save()

You must call Save after making changes or those changes will be lost. Save only saves the descriptor back to the object to which it belongs; you must then also save the object. 

For example, when modifying the security descriptor for an IADTSecuredObject you must call Save for the descriptor and then Save on the object's IADTIndependentObject interface. 

Once the descriptor and object have been saved, security changes take effect more or less immediately, for all clients connected to the server.

The caller must have saAdminister permission on the object or Save will fail with error ADT_E_NO_PERMISSION.

adTempus API Reference version 3.0.0.0, revised 10/30/2008