Click or drag to resize
AuthenticationHelperGetRegistrationApprovalUrl Method
Gets URL for user registration approval page (Page where user is required to confirm his registration).

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public static string GetRegistrationApprovalUrl(
	string customApprovalUrl,
	Guid userGuid,
	string siteName,
	bool notifyAdmin = false
)

Parameters

customApprovalUrl
Type: SystemString
Base URL for user registration approval URL. When empty URL is taken from settings
userGuid
Type: SystemGuid
Registered user GUID
siteName
Type: SystemString
Site name
notifyAdmin (Optional)
Type: SystemBoolean
Indicates if admin should be notified about new user registration

Return Value

Type: String
Returns string with URL in absolute format. URL parameters contains hash.
See Also