GetUser retrieves a User from the DataStore

Namespace: DotNetNuke.Entities.Users
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public UserInfo GetUser(
	int portalId,
	int userId
)
Visual Basic
Public Function GetUser ( 
	portalId As Integer,
	userId As Integer
) As UserInfo

Parameters

portalId
Type: System..::..Int32
The Id of the Portal
userId
Type: System..::..Int32
The Id of the user being retrieved from the Data Store.

Return Value

The User as a UserInfo object

Implements

IUserController..::..GetUser(Int32, Int32)

Remarks