Functional ID

How do i go about creating functional ids and assigning more than one password and provide different persons with only one of them?

Thx

JM