How to use private UserCollectionRepresentation userCollectionApi; in a cron job

Hi ,
i want to call the private UserCollectionRepresentation userCollectionApi;
userCollectionApi inside a springboot cron job , how can i achive it using cumulocity sdk.

it would be helpfull if i can get any doc to refer or code snippet.

Hi @jkpatil1010

this has been answered already here:

You have to use RestConnector to implement that yourself as it is not part of the SDK unfortunately.