# UserGroupSyncStatus

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.UserGroupSyncStatus/

UserGroupSyncStatus class

- **Full name:** `MFiles.UserGroupSyncStatus`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-user_group_id"></a>`user_group_id` | `int32` | 1 | The ID of the user group. |
| <a id="f-last_run_timestamp"></a>`last_run_timestamp` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | 2 | The last run timestamp. |
| <a id="f-synchronized_user_count"></a>`synchronized_user_count` | `int32` | 3 | The count of synchronized users. |
| <a id="f-skipped_user_count"></a>`skipped_user_count` | `int32` | 4 | The count of skipped users. |
| <a id="f-last_errors"></a>`last_errors` | `string` | 5 | Error string from the last run (if any). |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCUserGroupsAdmin.GetUserGroupSyncStatus](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUserGroupsAdmin/GetUserGroupSyncStatus/index.md): Gets the result of the last synchronization of an external Windows group.

<a id="used-in-fields"></a>

## Used in fields

- [`GetUserGroupSyncStatusResponse.status`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCUserGroupsAdmin/GetUserGroupSyncStatus/index.md#response): The last synchronization: time, synchronized and skipped user counts, and errors. Unset if none is recorded.
