![]() |
PBHGetLogInInfoSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the login method used to log on to a particular shared volume.
OSErr PBHGetLogInInfoSync ( HParmBlkPtr paramBlock );
A pointer to an objParam variant of the HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a volume specification.
On output, the login method type. See
On output, a pointer to the user name. The login user name is returned as a Pascal string. The maximum size of the user name is 31 characters.
The PBHGetLogInInfoSync function returns the method used for login and the user name specified at login time for the volume specified by the ioVRefNum field.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)