Created the generic_fns.domain.get_domain_ids() function.
This will be used in the GUI for domain related user functions.
Authored by: bugman 2012-12-18
Parent: [r18156]
Child: [r18158]