Microsoft KB Archive/62134

= Mac Hyp: Getting a List of User Names =

Article ID: 62134

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
 * Microsoft Mail Software Development Kit 3.0

-



This article was previously published under Q62134



SUMMARY
The following command returns a list of user names in Microsoft Mail version 2.00:   msmail (getUserList [,&quot;local&quot; or &quot;all&quot;] [,searchPattern]   [,&quot;leading&quot; or &quot;embedded&quot; or &quot;exact&quot;] [,extended]) => userNames In Mail version 3.00, the second argument is expanded to include &quot;Address&quot; for addresses from the user's address book.

If &quot;local&quot; is asked for (the default), then only users on the same server will be returned; if &quot;all&quot; is asked for, the routine returns all users on the network that can be reached via Microsoft Mail.

An optional &quot;searchPattern&quot; can be passed so that only a subset of users is returned. This allows you to specify only part of a name.

The following three search modes can be used:


 * 1) &quot;leading&quot; -- will match the searchPattern if it is at the start of a user name
 * 2) &quot;embedded&quot; -- all user names containing the pattern anywhere within themselves
 * 3) &quot;exact&quot; -- only users whose name exactly matches searchPattern

If &quot;extended&quot; is true (the default), then the name(s) are returned in the form &quot;userName@serverName&quot;.

This information is taken from the &quot;Microsoft Mail HyperCard Interface Documentation.&quot;

Keywords: KB62134

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.