How do I get the currently logged on user's password for such things as single sign-on etc.?
You can't, and that's by design. Password is not stored; a hash is stored.
To support single signon, you need a single domain (for cookie propagation) and at least some shared tables.
You may use AES encryption module. http://drupal.org/project/aes
This module can provide you with readable passwords. You will be able to designate roles with the ability to view other users passwords in plain text.
N.Mehrabany Baruzh web design & programming
Nima
Comments
You can't
You can't, and that's by design. Password is not stored; a hash is stored.
To support single signon, you need a single domain (for cookie propagation) and at least some shared tables.
AES encryption
You may use AES encryption module.
http://drupal.org/project/aes
N.Mehrabany
Baruzh web design & programming
Nima