AuthenticationHelperGetRegistrationApprovalUrl Method (String, Guid, String, Boolean, Int32) |
Note: This API is now obsolete.
Gets URL for user registration approval page (Page where user is required to confirm his registration).
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("Use version of this method without contactId. ContactId is not needed when confirming registration.")]
public static string GetRegistrationApprovalUrl(
string customApprovalUrl,
Guid userGuid,
string siteName,
bool notifyAdmin,
int contactId
)
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
- Type: SystemBoolean
Indicates if admin should be notified about new user registration - contactId
- Type: SystemInt32
Contact ID of contact connected to new user
Return Value
Type:
StringReturns string with URL in absolute format. URL parameters contains hash.
See Also