I'm linking the dynamic user directory to the dynamic registration. Method number 3 above worked great, except for 2 things: 1) the person who is using the application must have module edit rights to the user registration module and 2) the password is not displaying on the user registration module, even though it is displaying on the user directory.
You have to understand my use case. People entered into user directory will never see these pages - they're short-term volunteers. Instead, their accounts are maintained by a "supervisor". And that's the problem with the user registration - this person is a low-level user who should only be able to add and delete the volunteers via the directory list, but in order to give her the ability to edit any of these people, she had to have full access to the module (meaning she sees the yellow module configuration dot - with the dynamic questions and all - which is a definite no-no).
They way I made it work on the first page, in the template, I added:
<br><a class="normalred" href="/default.aspx?TabID=379&Manage=True&UserID=[userid]">Edit< span>a><br>
The "problem" piece of code on Tab 379 (where the registration module lies) is, I think, this, in the Page_Load of DynamicRegistration.ascx.vb:
<br> If PortalSecurity.HasEditPermissions(ModuleId) = True Then<br> blnManage = True<br> intUserID = CInt(Request.QueryString("UserID"))<br> End If<br>
As you can see, if the supervisor does not have edit permissions, then the module will user [b]her[/b] userid, not the one I pass in with the href.
Any ideas?
Oh, and problem 2 is that even though I see the password on the dynamic directory, it is blank on the user registration form. If the form is saved, the users' password is wiped out.
Thanks for any ideas!
Scott