How to add external user in sharepoint using infopath web part

hi,
what i am trying to achieve is,
1. Create an infopath web part which will take email id of external user as input(ex: [email protected]).
2. Take an email id of that user into infopath form and add that to sharepoint group.
3. Now that newly added user must be able to login in to sharepoint using his email id.
How could i achieve this? 
If redirect me to example or screen shots then it will be better to understand.

Out of the box you can not use email address and passwords to authenticate, for this you would need to create a custom authentication mechanism
http://code.msdn.microsoft.com/office/Claims-Walkthrough-51beedc5
or just google it:
https://www.google.be/search?hl=en&q=sharepoint+custom+authentication+provider&btnG=Search&meta=&aq=f&aqi=g10&aql=&oq=&gs_rfai=
Once this is implemented, you need to create custom code in you form, to call this new API and register the user, but 2nd step depends on how you do first.
Follow me on Twitter <<<
levalencia Blog <<<

Similar Messages

  • How to add external users?

    Hi, I have a sharepoint 2013 site and I got the users from an active directory, now I have to add external users but I can't add these to the active directory, how can I do it? I have imagined two ways:
    1. create a local active directory in my machine, add users and import them from central administration (I don't know if this is possible)
    2. add form web authentication and create the users in it.
    there is any other way? what do you recommend?
    luis molina

    Hi Luis Molina,
    Second option is the correct approach to address your concern,
    You can find the ready solution here
    SharePoint 2013 FBA - Configuration
    If you want to implement on your own, please follow this document provided my MS.
    SharePoint
    2013 FBA - Configuration Resource Document
    Murugesa Pandian., SharePoint 2010 | MCPD | MCTS -Configure

  • How to add external user to the group programmatically in SharePoint?

    Hi all,
    I want add an external user to a sharepoint group:
    When I run the below code in ConsoleApplication the user will be added to the DemoGroup,
    but when I add my code to User Control and run the code on SharePoint it doesnt work and I get an error:
    The user does not exist or is not unique.<nativehr>0x81020054</nativehr><nativestack></nativestack>
    Now I change the code:
    SPUser user = spWeb.EnsureUser(userName);
    I get again an error:
    The Specified user i:0#.f|IT2S|Doe, John was not found.
    string extName = "Doe, John";
    string domainName = System.Environment.UserDomainName;
    // in sp this is way how we get the domain:
    //string domainName = System.Environment.GetEnvironmentVariables()["USERDOMAIN"].ToString();
    web.AllowUnsafeUpdates = true;
    string userName = string.Format("i:0#.f|{0}|{1}", domainName, extName);
    web.SiteUsers.Add(userName,"[email protected]", extName, "0222");
    SPUser user = web.SiteUsers[userName];
    if (user != null)
    web.Groups["DemoGroup"].AddUser(user);
    web.Update();
    web.AllowUnsafeUpdates = false;
    can anyone please help me and say why that not work? Or if someone have an idea?
    thank you in advance
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    Hi Linda Li,
    yes I solve the issue with FBA:
    http://chrisbarba.com/2013/07/16/sharepoint-2013-forms-based-authentication-fba/
    and
    http://sharepointsolutions.blogspot.de/2012/08/configuring-forms-based-authentication.html
    with above links I solved the task.
    Best Regards
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • Send Email to Anonymous user thoruhg Sharepoint online custom web part

    Hi All
    Can you please suggest me how we can send Email to anonymous user?
    I have create the custom contact us web part as a sandbox solution (For SharePoint Online public facing site) with following fields
    Name: txtName
    Email: txtEmail
    Phone No: txtPhoneNo
    Company Name: txtCompany
    Message: txtMessage
    Now I want to send the Email (txtEmail) to anonymous user which have fill the contact us form.
    Note:  I am using SharePoint Online public facing site
    Thanks
    Deepak Chauhan
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

    Hi Mokhtar
    I have solved my problem Email send properly but i am using SharePoint online site when
    we log In and then fill the contact us form so that mail send properly but when anonymous user fill the contact us form without log In so
    that Email not send can you please suggest me how workflow work for anonymous user 
    Thanks
    Deepak
    Chauhan
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

  • How to collect intranet user's MAC address from web part on document library

    I need the best solution for the following problem:
    Let's say for an intranet application just to do customization through a web part on a document library we need to collect MAC address of all user's machine who tries to access the particular document library. 
    main point to achieve is we want to give access only to few users to a particular document library. I think if we get unique mac address then also purpose can be solved. Is there any other way apart from mac?
    In SharePoint 2013 on premise application what is the best way to do this customization? early reply is highly appreciated.
    Thanks,

    Hi,
    Why do you need this?  SharePoint runs on top of ASP.NET so its limited to what ASP.NET can do.  A quick google returns results like:
    http://www.codeproject.com/Questions/303612/How-to-get-Mac-Address-of-Client-Machine-in-asp-ne
    It's highly unlikely you can achieve this, back to my first question - why?  Maybe you can achieve the requirement in a more supportable manner.  I'm assuming you want to track the user.
    Thanks
    Dave
    My SharePoint Blog - http://www.davehunter.co.uk Twitter -
    @davehunter

  • Sharepoint 2013 - InfoPath Web Part Errors

    There may be a better way to accomplish what I'm doing so I will explain the idea first.  I'm putting together a PMO Sharepoint Site which contains drill down project information from 4 groups to over 500 projects.  I would like to display the
    data in a more dynamic way than just in lists so I am attempting to use an InfoPath form to display dynamic data in a more friendly text view.
    After creating a form view in InfoPath 2010, I loaded it into Sharepoint 2013.  I went through "Connections" and selected "Get Form From" and chose a web part list.  After choosing the view and saving I receive this error.  Sometimes
    it saves correctly but when I go back to edit the web part this error appears.

    This has been answered for SP 2010 at SP:SO. Things wont change much in SP 2013 as far as VWP is concerned. Basically you will need to implement Custom Web Part Editor.
    http://stackoverflow.com/questions/6946153/edit-webpart-properties-with-dynamic-dropdownlist
    Here is an example.
    http://sptechbytes.blogspot.ca/2013/02/sharepoint-2010-creating-custom-editor.html
    Amit

  • How to add a barcode font for use in Web Intelligence (WebI) XIR2 and 3x?

    Anyone have the steps to add a barcode font to WebI XIR2 and 3x?  Not finding a good KBase on it and was also wondering if there any "gotchas" in terms of printing and exporting to .pdf.
    Thanks.

    Hi Kevin,
    Also, if the solution provided in the previous post doesn't helps you then try the following solution.
    Following are the steps to apply barcode font (IDAutomationHC39M):
    1) In Windows Explorer, browse to the following folder:
    -- C:\Windows\Fonts
    2) On the File menu click Install New Font then browse to the font you want to install.
    3) Edit the properties on the fonts you have just added:
    In the "Embedding" tab, you should get a property like "Preview & Print embedding allowed".
    But, nothing related to a license limitation regarding the embedding, else, you will not be allowed to use the added fonts in PDF or XLS generation.
    4) Once the above points have been done:
    -- Copy the .ttf fonts you want to use in the following XIR2 folder:
    <BO_INSTALL_DIR>\Business Objects\j2sdk1.4.2_08\jre\lib\fonts
    5) Add the following entries into the fontalias.xml file, which is in the following folder:
    <BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\fonts
    The template looks like the following one:
    <FONT NAME="IDAutomationHC39M">
    <FONTFAMILY PLATFORM="ttf" NAME="IDAutomationHC39M (IDAutomationHC39M)">
    <FONTATTRIBUTE BOLD="false" ITALIC="false" LOGICAL="IDAutomationHC39M" PHYSICAL="IDAutomationHC39M.ttf"/>
    </FONTFAMILY>
    <FONTFAMILY PLATFORM="win" NAME="IDAutomationHC39M"/>
    <FONTFAMILY PLATFORM="java" NAME="IDAutomationHC39M"/>
    <FONTFAMILY PLATFORM="html" NAME="IDAutomationHC39M"/>
    </FONT>
    6) Add the following entries into the u2018i18n.xmlu2019 file, which is in the following folder:
    <BO_INSTALL_DIR>\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\scripts
    You have different sections in this i81n.xml file.
    -- Under the first section
    <I18N>
    <FontFinder>
    <font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>
    u2026u2026u2026u2026u2026u2026u2026u2026u2026..
    </ FontFinder>
    < FontFinder2>
    <font key=u201DIDAutomationHC39Mu201D value=u201DIDAutomationHC39Mu201D/>
    u2026u2026u2026u2026u2026u2026u2026u2026u2026..
    </ FontFinder2>
    -- Under the u2018font_aliasingu2019 section
    <font_aliasing>
    <T1>
    u2026u2026u2026u2026.
    </T1>
    <TTF>
    u2026..
    <font name=u201DIDAutomationHC39Mu201D>
    <os type=u201Dallu201D>
    <Attributs style=u201D0u201D filename=u201DIDAutomationHC39M.ttfu201D encoding=u201Du201D aliaspsname =u201CIDAutomationHC39Mu201D/>
    u2026
    </os>
    </TTF>
    7) Save the both files.
    8) Restart the Businessobjects servers or local computer.
    9) Login in to infoview and create a new web intelligence report by using the Java Report Panel or Html Report Panel;
    10) In the left pane, select the "Cell Format Properties": you will notice that an entry "IDAutomationHC39M" has been added into the font dropdown list.
    Just test the above u2018IDAutomationHC39Mu2019 barcode font, at your end and update me with the results.
    Regards,
    Sarbhjeet Kaur

  • How to add external library in class path folder for use in Java call-out?

    Hi,
    I am working with Java callout component in OSB 12c using Jdeveloper.
    Thing is Jar what i am using to perform conversion of json to xml that using external libraries.
    When i have give reference of my project jar to java callout it doen't found external libraries.
    Could you please tell me how to add external libraries in class path folder or How to use to add it through web-logic server ?
    Thanks,
    Pavan

    Hi,
    Thanks, I have solved issue.
    We can add on following path in windows pc:
    C:\Users\your_usename\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\lib
    One you add your external lib here then do restart weblogic server instance.
    Now, you have that external lib or jar in use.
    Cool!

  • How to add js files to sharepoint page using sharepoint designer

    how to add js files to sharepoint page using sharepoint designer

    Upload the files to your site collection into the site assets library or into the style library, depending on perference.
    Then you can include the JS files either in the master page, page tempalte or using web parts.

  • How to add multiple users to a role in ECC 6.0

    How to add multiple users (say 1000) to a role in ECC 6.0?

    Hi
    You can actually add multiple users to a role using transaction SU01. From SU01, use the menu Environment->Mass Changes.
    Here you can manually add the users, select them by address or authorisation data. Once you have your user list, you can then add or remove roles and/or profiles.
    Secondly , You can use SU10 to do mass changes to multiple users including role assignments per logical systems
    Also check the following link:
    http://www.sap-img.com/bc021.htm
    I hope this should do it
    regards
    Chen

  • How to add a User Defined Field in OUBI

    Dear Experts
    I would like to find out how to add a user defined field into OUBI from a Customer Care & Billing source system. If anyone could list the steps involved or point me toward a source of documentation that sets out the steps involved it would be much appreciated.
    Cheers
    Tim

    Is there anyone out there who has had experience using OUBI with CC&B?

  • How to Add a user defined field in transaction-PKMC?

    Could anyone tell me the step by step process of how to add a user defined field in transaction-PKMC?
    Moderator message: please do some research before posting.
    Edited by: Thomas Zloch on Jan 16, 2012

    Is there anyone out there who has had experience using OUBI with CC&B?

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

  • How to add a user to the wheel group?

    How to add a user to the wheel group in leopard?

    In Leopard, users can be added to system groups using 'dscl'. For example, while logged into an "admin" account, the command below can be entered using "/Applications" > "Utilities" > "Terminal.app" to add a user "username" to the "wheel" group:<pre>
    sudo /usr/bin/dscl . -append /groups/wheel GroupMembership username</pre>
    If you prefer a GUI, "Workgroup Manager.app", included with the Leopard version of the "Server Admin Tools" can be used.
    http://www.apple.com/support/downloads/serveradmintools105.html

  • Regarding : How to add a user to portal group with the help of webdynpro .

    Hii ,
    I am working on an application in which with the help of an action( Button)  we r adding a user in Ztable in R/3 , as well as  group in portal.
    The user r successfully creating in Ztable but from portal side No user is assigned to Portal group.
    I need coding solution for " How to add a user to portal group with help of webdynpro"
    Any usefull link will also do.
    Pls anyone have any solution ??
    Thnks in advance.
    Rewards r waiting for u .

    Hi,
    Use UME api to add user to portal group.
    Using UME API:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d562b7-1405-2a10-dfa3-b03148a9bd19
    Regards,
    Naga

Maybe you are looking for