DirOrganizationalGroup.fetchAll(session,enabledOnly)

Retrieves the list of all the available groups in the Directory. If there are no groups in the organization, then an empty list is returned

Arguments:

Name Type Description Mode
session Fuego.Fdi.DirectorySession an active session with the directory provider in
enabledOnly Bool indicates if the operation should return only enabled groups in