ClientUserSshKeyImportFromBuffer Method |
Imports an SSH public key to a user's certificate store.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public bool UserSshKeyImportFromBuffer(
string Username,
string Buffer
)
Public Function UserSshKeyImportFromBuffer (
Username As String,
Buffer As String
) As Boolean
public:
bool UserSshKeyImportFromBuffer(
String^ Username,
String^ Buffer
)
Parameters
- Username
- Type: SystemString
Username of user to add key for. - Buffer
- Type: SystemString
String containing SSH public key data.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
Remarks
The contents of the key should be placed in the Buffer argument and must
contain only the public portion of the key.
See Also