Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 


Contains credentials that the recipient can use to determine that the message was sent by authorized sender.


struct MCMessageCredentials {
    char UserName[16],
    char Password[16]

  TMCMessageCredentials = record
    UserName : array[0..15] of byte;
    Password : array[0..15] of byte

Class MCXMessageCredentials
    Property UserName As Variant
    Property Password As Variant
End Class

     interface IMCXMessageCredentials: IDispatch
    HRESULT _stdcall UserName([out, retval] SAFEARRAY(byte) * Value );
    HRESULT _stdcall UserName([in] SAFEARRAY(byte) Value );
    HRESULT _stdcall Password([out, retval] SAFEARRAY(byte) * Value );
    HRESULT _stdcall Password([in] SAFEARRAY(byte) Value );

public struct MCMessageCredentials {
    public byte[16] UserName,
    public byte[16] Password

Public Struct MCMessageCredentials
    Public UserName As Byte()
    Public Password As Byte()
Ens Struct

    class MCMessage() {
    String getUserName(),
    void setUserName(String userName),

    String getPassword(),
    void setPassword(String password)

struct MCMessageCredentials {
    char UserName[16],
    long Password[16]



    MCMessageCredentials structure contains credentials that let message recipient determine whether a message was sent by an authorized sender. It is application's job to keep the list of valid credentials and validate the given credentials. Messenger only fires an event that the application should process if it uses credentials.

Discuss this help topic in MsgConnect Forum