getDomains
Gets a list of domains for which there are policies in @enforcer.
Return
a newly allocated list of domains. Use func@GLib.List.free_full and func@GLib.free to free the list.
Parameters
sessionPolicies
whether to include session policies