Interesting question.
After some Googling, this is all I could find: a write-only property could be used to set a password on a User
object. Since passwords are usually stored in hashed form, there is (and should be) no way to retrieve a password after it has been set.