Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / IUserRepository Interface / LoadForUserName Method / LoadForUserName(String) Method
User name to look up for
In This Topic
    LoadForUserName(String) Method
    In This Topic
    Loads a User object given the user name
    Syntax
    User LoadForUserName( 
       string userName
    )

    Parameters

    userName
    User name to look up for

    Return Value

    The user object loaded or null if user with given name is not found
    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