creates a new TokenReplace object for custom context

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

Syntax

C#
public TokenReplace(
	Scope accessLevel,
	string language,
	PortalSettings portalSettings,
	UserInfo user,
	int moduleID
)
Visual Basic
Public Sub New ( 
	accessLevel As Scope,
	language As String,
	portalSettings As PortalSettings,
	user As UserInfo,
	moduleID As Integer
)

Parameters

accessLevel
Type: DotNetNuke.Services.Tokens..::..Scope
Security level granted by the calling object
language
Type: System..::..String
Locale to be used for formatting etc.
portalSettings
Type: DotNetNuke.Entities.Portals..::..PortalSettings
PortalSettings to be used
user
Type: DotNetNuke.Entities.Users..::..UserInfo
user, for which the properties shall be returned
moduleID
Type: System..::..Int32
ID of the current module

See Also