Modifiying users' profile properties for self-registration

I am trying to create a self-registration page flow in portal 8.1 but cannot seem to get any of the properties of a profile to save. I want users to add in values for address etc after they create a login.
This is the code I have written which seems to work (no exceptions anyway). However when I check the new user through the Admin console the Suffix property of the CustomerProperties profile is still empty. Any ideas? I cannot find any other help after many many searches.
ProfileFactory profFact=new ProfileFactory();
ProfileWrapper profWrap;
CreateUserForm user;
try{
user= (CreateUserForm) getSession().getAttribute("userform");
//nOw add a profile for this user and modify the suffix
profWrap=profFact.getProfile(user.getUsername(),null);
if (profWrap!=null){
profWrap.setProperty("USER","Suffix","Test");
}else{
System.out.println("no profile");
System.out.println(form.getValue());
System.out.println(user.getUsername());
     catch(Throwable t)
               t.printStackTrace();
          }

Hi,
if the property is defined in the CustomerProperties set, then this line should be closer:
<snip/>
profWrap.setProperty("CustomerProperties","Suffix","Test");
<snip/>
- Anders M.

Similar Messages

  • Auto approval for self registration request in OIM 11G R2

    Hi all,
    We have a requirement where we want end users to be able to self-register without needing any sort of approval. We are using OIM 11G R2 with the latest patchset.
    The way to do it in 11G R1 is explained in the following document:
    [http://docs.oracle.com/cd/E21764_01/doc.1111/e14316/unauth_selfservice.htm#BABFEIBF]
    But now that R2 does not have any request templates, we are not sure how to do this. Any help will be greatly appreciated. Thanks for your time.
    -sandeepc

    refer this.
    Configuring Auto-Approval for Self-Registration - Fails due to Organisation

  • How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?

    How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
    any idea?

    Hi,
    From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
    Here is sample code for getting user profile properties:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Here is a blog below about accessing data from the provider-host apps:
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Reorder User Profile properties in SharePoint 2013.

    Hi, I have created custom user profile properties in SharePoint 2013 under User Profile Service Application, now I want to change the order of properties as well as also want to move OOTB properties and custom properties from one section to another section.
    Is there any Power Shell command available to move properties between sections?
    Regards,    

    Hi Prakash,
    Use the script in this blog to retrive user profile properties from a certain section.
    http://stevemannspath.blogspot.in/2013/05/sharepoint-20102013-using-powershell-to.html
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Next, we needed to establish the server context:
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    From the context we can instantiate a ProfileManager object and retrieve all of the SharePoint User Profiles:
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    Next, we loop through the profiles and retrieve the account name (for identification purposes) and the property we are interested in finding:
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    Finally, we list out the collection items that do not have a value for the property (ie. null):
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    FULL SCRIPT
    # Dynamic Settings
    $mySiteUrl = "http://mysite.company.net"
    $findProperty = "PictureUrl"
    Write-Host "Beginning Processing--`n"
    # Obtain Context based on site
    $mySiteHostSite = Get-SPSite $mySiteUrl
    $mySiteHostWeb = $mySiteHostSite.OpenWeb()
    $context = Get-SPServiceContext $mySiteHostSite
    # Obtain Profiles from the Profile Manager
    $profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $AllProfiles = $profileManager.GetEnumerator()
    $outputCollection = @()
    # Loop through profiles and retrieve the desired property
    foreach ($profile in $AllProfiles)
    $output = New-Object System.Object
    $output | Add-Member -type NoteProperty -Name AccountName -Value $profile["AccountName"].ToString()
    $output | Add-Member -type NoteProperty -Name $findProperty -Value $profile[$findProperty]
    $outputCollection += $output
    # List all Accounts that do not contain the property
    $outputCollection | Where-Object {[bool]$_.($findProperty) -ne $true}
    In this blog, we can refer the script to create new section and new properties to this section.
    http://sergioblogs.blog.co.uk/2013/01/08/powershellscript-to-add-new-user-profile-properties-from-the-term-store-15407371/
    # PowerShell Script to Add New User Profile Properties from the Term Store
    # Get parameters
    $mySiteWebApp = Read-Host "Please enter the MySite Web Application URL"
    $termStoreSrvApp = Read-Host "Please enter the Term Store Service Application name"
    # Add SharePoint DLLs
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Administration")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Sharepoint.Taxonomy")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    # Get site collection for MySite
    #$sitecollection = Get-SPSite | Where-Object {$_.Url -eq "http://yourMySiteHostURL"}
    $sitecollection = Get-SPSite | Where-Object {$_.Url -eq $mySiteWebApp}
    if($sitecollection -ne $null) {
    # Get the taxonomy session
    $taxSession = Get-SPTaxonomySession -site $sitecollection
    # Get the term store - you will need to amend the value for the correct name of your MMS Name
    #$termStore = $taxSession.TermStores["Managed Metadata Service"]
    $termStore = $taxSession.TermStores[$termStoreSrvApp]
    if($termStore -ne $null) {
    # Get the term store group for Swisslo
    $termStoreGroup = $termStore.Groups["Name of Term Store"]
    # Get the term sets - Preset with examples for terms (Customer, Function, IndustrySegment, Language, Location, Organization), amend as required
    $termSetCustomer = $termStoreGroup.TermSets["Customer"]
    $termSetFunction = $termStoreGroup.TermSets["Function"]
    $termSetIndustrySegment = $termStoreGroup.TermSets["Industry Segment"]
    $termSetLanguage = $termStoreGroup.TermSets["Language"]
    $termSetLocation = $termStoreGroup.TermSets["Location"]
    $termSetOrganization = $termStoreGroup.TermSets["Organization"]
    # Get the user profile app - change UPS Name as required
    $serviceApplication = Get-SPServiceApplication | ?{$_.TypeName -eq "User Profile Service Application"}
    $serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($serviceApplication.ServiceApplicationProxyGroup, [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $userProfileConfigManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager $serviceContext
    $userProfilePropertyManager = $userProfileConfigManager.ProfilePropertyManager
    $userProfileTypeProperties = $userProfilePropertyManager.GetProfileTypeProperties([Microsoft.Office.Server.UserProfiles.ProfileType]::User)
    $userProfileSubTypeManager = [Microsoft.Office.Server.UserProfiles.ProfileSubTypeManager]::Get($serviceContext)
    $userProfile = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $userProfileProperties = $userProfile.Properties
    $ps = $userProfileSubTypeManager.GetProfileSubtype([Microsoft.Office.Server.UserProfiles.ProfileSubtypeManager]::GetDefaultProfileName([Microsoft.Office.Server.UserProfiles.ProfileType]::User))
    $pspm = $ps.Properties
    #Create new section in User Profiles - set the 'Name of the Section' throughout next chunk of code
    Write-Host "Creating new section for 'Name of Section'...."
    $allEntries = $userProfileConfigManager.GetPropertiesWithSection();
    $sectionExists =$false
    foreach ($temp in $allEntries) {
    if($temp.Name -eq "Name of Section") {
    Write-Host "Section for 'Name of Section' already exists.";
    $sectionExists = $true;
    $section = $temp
    if ($sectionExists -ne $true){
    $section = $allEntries.Create($true);
    $section.Name = "Name of Section";
    $section.ChoiceType = [Microsoft.Office.Server.UserProfiles.ChoiceTypes]::Off;
    $section.DisplayName = "Name of Section"
    $section.Commit();
    Write-Host "Section 'Name of Section' created"
    Write-Host "Creating new properties...."
    $Privacy = "public"
    $PrivacyPolicy = "OptIn"
    $coreProperties = $userProfilePropertyManager.GetCoreProperties()
    # Setting Custom Properties below, amend names as you did above to match your fields
    # Set new Custom Property for "Customer"
    $PropertyName = "SLCustomer"
    $PropertyDisplayName = "Customer"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetCustomer
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Function"
    $PropertyName = "SLFunction"
    $PropertyDisplayName = "Function"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetFunction
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Industry Segment"
    $PropertyName = "SLIndustrySegment"
    $PropertyDisplayName = "Industry Segment"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetIndustrySegment
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Language"
    $PropertyName = "SLLanguage"
    $PropertyDisplayName = "Language"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLanguage
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Location"
    $PropertyName = "SLLocation"
    $PropertyDisplayName = "Location"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetLocation
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    # Set new Custom Property for "Organization"
    $PropertyName = "SLOrganization"
    $PropertyDisplayName = "Organization"
    $newProperty = $coreProperties.Create($false)
    $newProperty.Name = $PropertyName
    $newProperty.DisplayName = $PropertyDisplayName
    $newProperty.Type = "string"
    $newProperty.Length = "50"
    $newProperty.IsMultivalued = $true
    $newProperty.TermSet = $termSetOrganization
    # Add the new property
    $coreProperties.Add($newProperty)
    $profileTypeProp = $userProfileTypeProperties.Create($newProperty)
    $profileTypeProp.IsVisibleOnEditor = $true
    $profileTypeProp.IsVisibleOnViewer = $true
    $userProfileTypeProperties.Add($profileTypeProp)
    $profileSubTypeProp = $pspm.Create($profileTypeProp);
    $profileSubTypeProp.IsUserEditable = $true
    $profileSubTypeProp.DefaultPrivacy = $Privacy
    $profileSubTypeProp.AllowPolicyOverride
    $pspm.Add($profileSubTypeProp);
    Write-Host "Completed"
    } else {
    #Termstore not found
    Write-Host "Unable to connect to term store"
    } else {
    Write-Host "Unable to connect to MySite Web Application"
    Need more effort to change this code to work for your requirement.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • Approval Workflow for Self Registration

    Hi ,
    I have a requirement where I have to develop an approval workflow for self registration.
    My requirement is If the user type is Employee the user must not go through approval, but if the user type is contractor they must go to some admin user for approval.
    How can I achieve this.
    Regards

    Hi,
    You can refer this link "Create a Custom Approval Process for Self Registration" it might clear your doubts. Also you can create rule as said in below post. For that you can refer "http://codigoctm.files.wordpress.com/2012/11/lab-06-access-policy.pdf".
    Regards,
    Sunil

  • Best way to create a conact list from the user profile properties

    We have a customer looking for a phone book utility, starting with a table showing main user information and with some search options. We would like o base it on the user profile properties and not to create an indipendent studion record browser porlet.
    What is best way to create a conact list from the user profile properties ?

    I did something like this using search.  It can get messy, so you need to take care with it.
    * Identify the properties you want to make accessible to search (ex: name, etc.)
            - add them to the user property map
            - flag them as searchable
    * I broke down and used the native server API.  I'd still suggest this approach.
    * Write some simple code to do vcard export if you like
    (my code is all in vb.net)
    I really believe this is the &#034;right&#034; approach, but honestly, this was a bit painful and has been
    messy for us given some other business issues.  (to my chagrin we have users with 2-letter last
    names...)
    I have code you're welcome to poke at, but it's more or less slapped together and has various
    different search methods commented out so you can see how I tinkered w/ the remote vs. server
    API.
    If you'd like it mail me at [email protected] and I'll send you a zipped copy w/ a
    readme.  I hope it may be useful to you as both a starting reference.

  • Mapped a custom user profil propertie office 365

    Hi,
    I created a customer user profil propertie named ="CodeUO" , Type Text. 
    I have ticked the index and alias box
    then I created the property bag for this property.
    but when I user the search 
    https://--------/_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'&selectproperties='CodeUO,AccountName'
    I have this result:
    -<d:element m:type="SP.KeyValue">
    <d:Key>CodeUO</d:Key>
    <d:Value m:null="true"/>
    <d:ValueType>Null</d:ValueType>
    </d:element>
    Best Regards,
    ND

    You have to perform a new crawl of the user profiles in order to get values in the properties. So you have new user profile properties which are getting corresponding crawled properties called People:PropertyName, and you have mapped these to two managed
    properties in the search schema named CodeUO and AccountName..right?
    Thanks,
    Mikael Svenson - Search Enthusiast
    SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • SharePoint 2013: Update User Profile Properties is giving error

    Hello all SharePoint Gurus - I am trying to update the User Profile Properties. The update I am trying is to
    Property Mapping for Synchronization.  Mapping mobile property of AD to the User Profile Property Mobile Phone.
    It is giving error "An Error occurred when updating a property". Check ULS is not showing any error. 
    The FIM Service, USer Profile Services and Synchronization Services all are in Started mode. Properly synchronizing with AD. 
    Please throw some light on this. 
    Regards,
    Khushi

    Hi Khushi,
    According to your description, my understanding is that you got an error when you make "Mobile Phone" map to "mobile" from AD properties.
    I did a test as your description, in my testing, everything worked well.
    Please try to stop User Profile Synchronization service and User profile service, then restart them, compare the result.
    There are some similar posts about this issue, pease check if they are useful for you:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/32937e1d-830e-4553-bdfc-23d3ee7f6d07/why-mapping-of-user-profile-property-fails
    http://sharepoint.stackexchange.com/questions/34634/mapping-user-properties-fails
    If this issue still exists, please check Windows Event Viewer to check there is something about this issue:
    How to use Windows Event Viewer:
    http://blog.credera.com/technology-insights/microsoft-solutions/troubleshooting-sharepoint-errors/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD

    Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
    I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
    this is my code...
       void runQueryButton_Click(object sender, EventArgs e)
               // Get the My Sites site collection, ensuring proper disposal
                using (SPSite mySitesCollection = new SPSite("http://sp/my"))
                    //Get the user profile manager
                    SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
                    UserProfileManager profileManager = new UserProfileManager(context);
                    UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
                    foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;

     Hi,
    Please try with the following code
          PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
                                SPServiceContext context = SPServiceContext.GetContext(site);
                                UserProfileManager profileManager = new UserProfileManager(context);                        
      foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName
    + ":" + profile[prop.Name].Value + "<br />"; ;
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • User Profile Data for One Month in ST03N

    Dear All,
    I have one question for a similar requirement.
    I want to see the User Profile data for last month (e.g.August)
    I navigate through the same path as described by you.
    ST03N- Expert Mode- Total (select period)-- User Profile (from analysis view)
    even though I have selected One month period (August) ; I could see only the data for one week (1st August to 7th August)
    Can you please advice how can I solve my purpose, if not this time but may be in future I should be able to see complete one month data.
    Thanks in advance.
    Best Regards,
    Jayesh

    Dear Shailesh,
    Thanks for the very prompt and accurate response.
    However we have this job scheduled on monthly basis in our productive system, still there is no data avaialable.
    Kindly advice.
    Best Regards,
    Jayesh

  • OIM 11gR2 PS1: Need to configure auto approval for self registration

    Hi All
    I need to configure auto approval for self registration in OIM 11g R2 PS1. I have done this in R1 but looks like it is different in R2.
    Can you please guide me or point me to some blog/guide.
    Thanks

    check this link:
    Developing Workflows for Approval and Manual Provisioning - 11g Release 2 (11.1.2.1.0)

  • User Profiles properties in SharePoint 2013

    Hello Everyone,
    Can we set User Profiles properties in SharePoint 2013 ? 

    Most of them, yes. What are you specifically looking to do?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Individual Mail Notification for Self-Registration

    Hello,
    i want to use the portal self registration feature. The mail notification is not correct (URL) and the mail recipient cannot show his username/password in the mail message. Is there a way to customize this message(individual text), and where can i do this?
    thnx in advance.

    mmiller thank you for answer
    Allow the user to create a stub profile based on the data provided. I’m new to Oracle Access Manager. :-)
    Could you tell me what do you mean by stub profile?
    Now, user is allowed to add himself to directory using self registration.
    Using a post process, generate a GUID and store it on the new profile. Send an email to the user that includes the GUID key.If you are using a post processing you wrote a program which sends mails and you don’t use a mail notification. Is it true?
    Many Thanks
    Pavel

  • E-mail pattern for self registration screen

    Hello,
    We are using WAS version 7.01 SP3 .
    We configured the UME to enable self registration.
    The generated password sent via Email and everything working correct.
    The only problem is that the user can use wrong E-mail pattern and the creation process will continue
    (User will create in the system with wrong E-mail pattern for example -  XYZ).
    When we tried to create user with wrong E-mail pattern in the standard user creation program it raised error message.
    We are using the default E-mail pattern on the Configtool.
    Is there any way to stop the self registration process if the user enter wrong E-mail pattern?
    Thanks for the help
    Nir

    Hi,
    You can try forcing the application to quit as described here:
    +To force an application to close, follow these steps:+
    +iPhone or iPod touch running iPhone OS 3.0 or later+
    +Press and hold the Sleep/Wake button until the red slider appears. When the red slider appears, release the Sleep/Wake button.+
    +Instead of dragging the red slider, press and hold the Home button for six seconds.+
    +If the device does not return to the Home screen, see the steps below to restart.+
    from: http://support.apple.com/kb/TS1445
    If the issue persists, you should try restarting before trying to reset.
    You can restart the iPhone by holding the Sleep/Wake button until the red slider appears> then slide to turn off> and turn the iPhone back on by pressing the Sleep/Wake again, as described on page 46 of the iPhone User Guide.
    http://manuals.info.apple.com/en/iPhoneUserGuide.pdf
    -Jason

  • How to set password entered by user in the custom self registration app?

    Hi All,
    I am trying to create a customized self registration page on the portal logon page using Webdynpro JAVA application. Now the problem I am facing is that I am not able to identify how to set the initial password for the user in the portal that is entered by the user while registering through the application.
    I am using the object as:
    IUserFactory userFact = UMFactory.getUserFactory();
    IUserMaint userMaint = userFact.newUser(user);
    I am able to set different parameters such as First Name,Last Name, User Id, Email Id, etc but not the password.
    Any pointers will be highly appreciated.
    Thanks in Advance.
    Regards.
    Rajat

    Hi Rajat Jain,
    Try the below code.
    IUserAccountFactory mAccountFact = UMFactory.getUserAccountFactory();
    IUserAccount userAccount =mAccountFact.getUserAccountByLogonId(login); // Provide login
    IUserAccount muserAccount = mAccountFact.getMutableUserAccount(userAccount.getUniqueID());
    muserAccount.setPassword(oldPassword.trim(), confirmPassword.trim());
    muserAccount.save();
    muserAccount.commit();
    Regards,
    VJR.

Maybe you are looking for