get a specific preview profile by id.

Namespace: DotNetNuke.Services.Mobile
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public IPreviewProfile GetProfileById(
	int portalId,
	int id
)
Visual Basic
Public Function GetProfileById ( 
	portalId As Integer,
	id As Integer
) As IPreviewProfile

Parameters

portalId
Type: System..::..Int32
the profile belong's portal.
id
Type: System..::..Int32
profile's id.

Return Value

profile object.

Implements

IPreviewProfileController..::..GetProfileById(Int32, Int32)

See Also