AuthenticationHelperGetRegistrationApprovalUrl Method (String, Guid, String, Boolean) |
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 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:
StringReturns string with URL in absolute format. URL parameters contains hash.
See Also