AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# ISyncProvider.GetGroups Method

Returns a `SyncObjectList` object with an array of `SyncObject`s inside representing groups.

SyncObjectList GetGroups();

#### Return Value

A `SyncObjectList` object containing `SyncObject`s that represent groups.

#### Remarks

The portal will continue calling `GetGroups` until it receives a `SyncObjectList` with the `isDone` flag set to true. If the `ISyncProvider` implementation returns these `SyncObject`s in batches, it must maintain state internally and return `isDone=false` until the last batch.

#### Exceptions

Exception Type | Condition
--- | ---
ServiceException | An error occurred.

#### See Also

ISyncProvider Interface | Plumtree.Remote.Auth Namespace