GetUserByUserName retrieves a User from the DataStore
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static UserInfo GetUserByName( int portalId, string username ) |
Visual Basic |
---|
Public Shared Function GetUserByName ( portalId As Integer, username As String ) As UserInfo |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal
- username
- Type: System..::..String
The username of the user being retrieved from the Data Store.