current user

My current user information was working fine before the update of the backendless but now its not working

Hi Nomfundo,

We haven’t detected any regressions related to retrieving the current user. Can you please prepare a minimal verifiable example, so that we could reproduce the problem and try to help you?

String whereClause = “ownerId =’” + Backendless.UserService.CurrentUser().getObjectId() + “’”;
DataQueryBuilder dataQuery = DataQueryBuilder.create()
dataQuery.setWhereClause(whereClause)
dataQuery.setPageSize(100).setOffset(0)

Does it throw an error? Or the result is empty? Have you checked if there is a value in Backendless.UserService.CurrentUser().getObjectId()?