Title: A1262287749JZFVO
1- Sign Up of New Users
- You will need to provide a method to add new
users to your .net web applications. Although
you can create users directly from the admin
management screens of AccessManager, almost
certainly you will want users to be able to sign
up themselves from a page in your application. - Toolbox Custom Controls
- We provide a pair of custom controls in your
Visual Studio toolbox for you to do this - AMSignUpUser_RequestControl
- AMSignUpUser_CreateControl
- SignUpMode
- Each of these two controls has the property
SignUpMode. This enables you to sign up new
users using the following three methods - (1) NoEmailValidation_NoApproval
- i User simply enters their details into a form,
clicks CreateAccount and their account is created
immediately. - (2) EmailValidation_NoApproval
- i User enters their name and email address into
a form, and clicks SignUp link. - ii User receives an email containing a link to
a form to enter their secure details including
password. - iii User enters their details on the form,
clicks CreateAccount and their account is created
immediately. - see figure A
2- How to use the Custom Controls for each
SignUpMode - For all modes
- Enter a Profile name in the SubscribeUserToProfil
e property if you wish the user to be a member of
a security profile. - Enter a Role name in the SubscribeUserToRole
property if you wish the user to be a member of a
security role. - Make the web page containing the control (e.g.
signup.aspx) exempt from Authorisation. See
AccessManager -gt Admin Home -gt WebSites -gt
Authenticate Tab - AccessManager -gt Admin Home -gt WebSites -gt
Approval Tab Set the location of the Create New
User Screen URL to the location of this web page.
Enter the full URL of the page, e.g.
http//localhost/MyWebSite/SignUp.aspx - Determine which information you wish to collect
from the new user by setting the design time
properties, such as Prompt_For_CompanyName and
Prompt_For_DOB. - NoEmailValidation_NoApproval
- In this mode, you only require the
AMSignUpUser_CreateControl control added to a web
page, e.g. signup.aspx - Set the SignUpMode property to
NoEmailValidation_NoApproval.
3SignUpMode EmailValidation_NoApproval
STEP 1 User enters their name and email address
into a form, and clicks SignUp link
AMSignUpUserRequestControl
STEP 2 User receives an email containing a link
to a form to enter their secure details including
password.
STEP 3 User enters their details on the form,
clicks CreateAccount and their account is created
immediately.
AMSignUpUserCreateControl
SignUp.aspx
4STEP 1 User enters their name and email address
into a form, and clicks SignUp link.
SignUpMode EmailValidation_Approval
STEP 2 Administrator locates the request in
SecureUser -gt AdminHome -gt View Account Requests
STEP 3 Administrator adds roles profiles to the
user account, and Approves the request.
AMNewUserRequestControl
SignUp.aspx Web Form
STEP 4 User receives an email containing a link
to a form to enter their secure details including
password.
STEP 5 User enters their details on the form,
clicks CreateAccount and their account is created
immediately.
AMNewUserCreateControl