MOVEitMessageInfoRecipientAddUser Method (String) |
Adds a user to the list of recipients as a "TO" recipient.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public bool RecipientAddUser(
string Username
)
Public Function RecipientAddUser (
Username As String
) As Boolean
public:
bool RecipientAddUser(
String^ Username
)
Parameters
- Username
- Type: SystemString
Username to add as a recipient of this message.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
Remarks
NOTE: This method will not set the
StatusDescription property
when an error occurs. If
false is returned, check to make sure the user
has not already been added as a recipient.
Also make sure the message state is "Pending".
See Also