Deletes all existing SIDs and replaces them with the specified SIDs. If the replacement SIDs are not specified, all existing SIDs are deleted. This operation can be specified only once and must be the only operation specified.
Adds a new SID. If the SID already exists, the call fails.
Deletes the specified SID. If no matching SID is found, no modifications are done and the call fails.
Replaces the existing SID with the specified SID. If the SID does not already exist, then adds the SID.
Windows 8 [desktop apps only] Windows Server 2012 [desktop apps only]
The feedback system for this content will be changing soon. Old comments will not be carried over. If content within a comment thread is important to you, please save a copy. For more information on the upcoming change, we invite you to read our blog post.