Framework EDI Reference. Methods and Properties
mailInternetURI. UserInfo

Gets the user information from the URI string.

Syntax:

Remarks:

In the following URI example,

http://myname:mypassword@www.somesite.com/testsite/

the user information is "myname:mypassword".

The UserInfo property is general user information and does not necessarily take the "user:password" form.  It should be noted that this is the string that precedes the "@" in the syntax of the URI that separates it from the host string only.

<userinfo>@<host>

This is to accommodate any scheme specific information that is used to authenticate the user to the server.

NOTE:  Because the UserInfo property provides user specific authentication information, the property compromises server security and therefore is not recommended to appear in the URI syntax.

The UserInfo property  will also have the value that is the "opaque" in the URI syntax.  An opaque URI does not make use of the "/" to separate hierarchical component  in the URI syntax.  For example, the "mailto" scheme is an opaque URI when it can have the following as an example:

mailto:someuser@somesite.org

In this example, the UserInfo property will have the value "someuser@somesite.org".