To obtain information about an individual user’s host password expiration date and recent logon attempts, execute the following RPC:
exec sgw_peminfopwd [hostuserid, hostpwd]
If you include the hostuserid and hostpwd parameters, TRS passes the specified user ID and password to the PEM server.
If you do not specify any parameters, TRS assumes you are requesting information about the client from which you are making the request. It passes one of the following to the PEM server, depending on whether security is enabled:
If TRS security is enabled (the Security configuration property is set to yes), the client’s HOST_LOGIN and HOST_PWD, as defined by sgw_addlog or by a previous sgw_pemchpwd procedure call
If security is not enabled (the Security configuration property is set to no), the user ID and password that the client used to log onto TRS
Maximum length for the user ID and password is eight characters each.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |