Clear User AUC cache file for all users in MSD axapta by code

Some times user face problem with axapta client instance startup then you need to clear cache file of user profile. .Auc file is right things to clear. You can delete it manually or by code for all users following way.

#AiF
SysSQMSettings _sysSQMSettings;
;
ttsbegin;
update_recordset _sysSQMSettings setting GlobalGUID = str2Guid(#EmptyGuidString);
ttscommit;
You need to restart AOS after running above code through job.