See user groups/permission sets assigned to user via windows/AD groups

In a Dynamics NAV 2018 - is it possible to find/lookup the permission sets (or user groups or windows/AD groups) of the current user logged in, using C/AL?
The user gets permissions from the windows/AD groups he/she has.

Hi Frank,
Not directly from within C/AL. You would either use DotNet from within or an external program (i.e. PowerShell script) to get this information.