Click or drag to resize
ClientUserSshKeyImportFromBuffer Method
Imports an SSH public key to a user's certificate store.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
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: Boolean
true 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