Local councils have a duty under the Social Work (Scotland) Act 1968 to assess a person's community care needs and decide whether to arrange any services. Any assistance should be based on an assessment of the person's care needs and should take account of their preferences.