A summary of the homelessness legislation and the duties, powers and obligations on housing authorities and others towards people who are homeless or threatened with homelessness. The purpose of the code and the relevant equality duties that housing authorities need to consider in carrying out their duties.