GetUserByVanityUrl retrieves a User from the DataStore

Namespace: DotNetNuke.Security.Membership
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public override UserInfo GetUserByVanityUrl(
	int portalId,
	string vanityUrl
)
Visual Basic
Public Overrides Function GetUserByVanityUrl ( 
	portalId As Integer,
	vanityUrl As String
) As UserInfo

Parameters

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

Return Value

The User as a UserInfo object

Remarks