You are here

websiteUserSandboxUrl

websiteUserSandboxUrl(storeId, username) returns the preview URL to the user sandbox for the specified store ID and username.

Parameters

storeId
A string representing the store ID.
username
A string representing the username of the user for which to build the sandbox preview URL.

Returns

Returns a string representing the preview URL to the user sandbox for the specified store ID and username.