EldoS
MsgConnect home / Documentation / MCMessageCredentials structure
Navigation
Web site
Support
Table Of Contents

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


MCMessageCredentials


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

Declaration

[C++]
struct MCMessageCredentials {
    char UserName[16],
    char Password[16]
};

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

[VB6]
Class MCXMessageCredentials
    Property UserName As Variant
    Property Password As Variant
End Class

[ActiveX]
     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 );
    };

[C#]
public struct MCMessageCredentials {
    public byte[16] UserName,
    public byte[16] Password
};

[VB.NET]
Public Struct MCMessageCredentials
    Public UserName As Byte()
    Public Password As Byte()
Ens Struct

[Java]
    class MCMessage() {
    String getUserName(),
    void setUserName(String userName),

    String getPassword(),
    void setPassword(String password)
    };

[Palm]
typedef struct {
    byte UserName[16];
    byte Password[16];
} MCMessageCredentials;

[DLL]
struct MCMessageCredentials {
    char UserName[16],
    long Password[16]
    };

Fields

  • UserName - username parameter that will be passed to Messenger.OnValidateCredentials event handler
  • Password - password parameter that will be passed to Messenger.OnValidateCredentials event handler

Description

    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.

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation