ClientUserMakeRandomPassword Method |
Returns a randomly generated password that is acceptable by the password length and
strength standards of the currently signed on user's organization.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public string UserMakeRandomPassword(
string Username
)
Public Function UserMakeRandomPassword (
Username As String
) As String
public:
String^ UserMakeRandomPassword(
String^ Username
)
Parameters
- Username
- Type: SystemString
Username to generate password for. Used to make sure
that the generated password does not contain the username.
Return Value
Type:
StringRandomly generated password if successful; otherwise, empty string.
Remarks
The new password
will be tested against the provided username to make sure the two do not match. Use
this method to generate an acceptable password when creating a new user.
See Also