Dynamicweb 8 Documentation
GetUserByUserName Method

The user name of the user to be retrieved.
Retrieves a user by its user name.
Syntax
'Declaration
 
Public Shared Function GetUserByUserName( _ 
   ByVal userName As String _ 
) As User
public static User GetUserByUserName( 
   string userName 
)

Parameters

userName
The user name of the user to be retrieved.

Return Value

Retrieved user or Nothing if user can not be retrieved.
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

Reference

User Class
User Members

Send Feedback