Otter SDK Reference
Version:

Commit(Inedo.Otter.Extensibility.UserDirectories.IUserDirectoryUser user) Method

Closes any external connections and commits any changes made that were not immediately saved.

Syntax

public virtual void Commit(Inedo.Otter.Extensibility.UserDirectories.IUserDirectoryUser user)

Parameters

user
Type: Inedo.Otter.Extensibility.UserDirectories.IUserDirectoryUser

The user performing the commit.

Remarks

This method should be called explicitly if any changes to the raft items were made; otherwise, changes are not guaranteed to be saved to raft items.