openWithSidOrUniqueName

abstract fun openWithSidOrUniqueName(sidOrUniqueName: String): SyncOptions

Opens an existing object with specified SID or unique name. Implementation will automatically detect whether a SID or a unique name has been provided, and behave accordingly. This method is the same as withUniqueName with OPEN_EXISTING mode.

Return

Self for chaining.

Parameters

sidOrUniqueName

SID or unique name to find existing entity or to assign to new entity upon creation.