SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is just a query about a requirement from client. Can we generate an activation link to activate user account. The whole concept is user request for access to a sharepoint site. Then admin send him an email to activate his account and the link will be valid for only 1 day. This scenario is being seen in most of the sites other than sharepoint.

Is it possible in sharepoint?

share|improve this question
up vote 0 down vote accepted

Not with the out-of-the-box components, at least for the in-premises installations. Activating a user account it means in most cases creating a user in Active Directory or at least if an alternate user store is configured you need to create/enable a form for registration, automate expiration, notifications, and so on.

Of course with custom solutions it could be achieved. Example (if you use AD):

  1. Build an account registration/activation page (this could be an Application Page inheriting from UnsecurePageLayout, similar to the sign-in page already in SharePoint 2010).
  2. Store registration account data into a custom list with minimal data, have an Approval running to make sure you check data, plus either a Workflow or an Event-Handler that is exploiting Active Directory Services .NET classes to create User Account in the appropiate OU. (of course, this assumes you get the power/approval from your Sys Administration to do so)
  3. Once process of creation finished, give the appropiate user the permissions on required sites.

If you use alternate user Store, such as SQL ASP.NET Membership database, similar could be achieved by exploiting the MembershipProvider API, and ASP.NET Controls within an Application page.

share|improve this answer
Can u please tell me the steps so that i can have better understanding on the approach and tell my client about all the pros and cons. – alam235 Sep 25 '12 at 5:51
See update, please! – Marius Constantinescu - MVP Sep 25 '12 at 13:56
thanks a lot Marius... – alam235 Sep 26 '12 at 6:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.