public interface IPasswdDelegator
| Modifier and Type | Method and Description |
|---|---|
String |
changePassword(String oldPassword,
String newPassword,
String userName)
Change a user's password on the server.
|
String changePassword(String oldPassword, String newPassword, String userName) throws P4JavaException
Note: setting the 'newPassword' to null or empty will delete the password.
oldPassword - possibly-null or possibly-empty user's old password. If null
or empty, it assumes the current password is not set.newPassword - non-null and non-empty user's new password.userName - possibly-null possibly-null name of the target user whose
password will be changed to the new password. If null, the
current user will be used. If non-null, this command requires
'super' access granted by 'p4 protect'.P4JavaException - if any error occurs in the processing of this method.Copyright © 2017 Perforce Software. All Rights Reserved.