Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / User Class / GetBestEmailAddress Method
In This Topic
    GetBestEmailAddress Method
    In This Topic
    Gets the best email address for this user
    Syntax
    public virtual string GetBestEmailAddress()

    Return Value

    The best known email address for this user
    Remarks
    Email addresses may be found in a variety of locations, this function pulls the best email address in order of preference. Ideally, all users should have the best email address stored in the "Email" property but this is not always the case especially with legacy data.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also