DirOrganizationalRole.fetchAll(session)

Retrieves the list with all the Organizational Roles defined in the Directory. If there are no roles in the Directory, then an empty list is returned. For example: allroles = dirOrgRole.fetchAll(session : mySession) i= 0 for each r in allroles do lines[i] = [r.displayName,r.id] i = i +1 end

Arguments:

Name Type Description Mode
session Fuego.Fdi.DirectorySession the directory session in