How to get contact details in C# code , when new contact is created in Exchange Server 2013

Hi all,
In my exchange server 10 users there, i need to create service that  if any user log in his account and create new contact,
then i need  that new contact details in C# code  immediately [EWS Managed API]. 
how can i achieve this ?

If you want to be notified when a user creates a contact then look at notifications (either streaming or push) on the contacts folder
http://msdn.microsoft.com/en-us/library/office/dn458791(v=exchg.150).aspx . You will need to subscribe to every users contacts folder you want to monitor .
This will give you the EWSid of the new contact that has been created then to access the details you just bind to it
http://msdn.microsoft.com/en-us/library/office/microsoft.exchange.webservices.data.contact.bind(v=exchg.80).aspx
Cheers
Glen

Similar Messages

  • How can i get newly added contacts for a Mailbox User in Exchange Server 2013

    Hi all,
    I need to synchronize contacts in Exchange Server and Sugar CRM Application, for that
    i need to get newly added contacts for a User in Exchange Server 2013 by using EWS Managed API.
    I know how get the list of all contacts for a particular user , but in the list how i can find
    new contacts ?

    Hi Dora,
    that's the fun thing:
    You add your own property (and it'll be invisible to outlook users, not to worry).
    Extended Properties allow you to define custom property on Exchange Items. And it has a
    method for setting those too.
    Here's a short post doing a very simple intro on using Extended Properties.
    Glen's Exchange Blog is a generally useful resource when working with EWS, I'm confident you'll be able to find lots of tips there as well.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to get the Details Regarding the tcode like used by  and used in .

    Hi all,
    My requirement is if i give the Z* Tcode in the selection screen I should get the details like program Name and Creator Name and created on and last Changed by and used by and used in Related Data.
    Somehow i managed to get all the data except for two fields used by and used in .Please let mke know is there any Function Module to fetch the used by(User Name ) and used in data or any table where this data is saved.
    Thanks in Advance.
    Regards,
    Naveen

    Hi Naveen,
    What are you exactly looking for in "used by" (if it's who launched the transaction lastly -> performance statistics, transaction ST03N, search forum how to read it) and "used in" (programs in which the transaction is statically defined in CALL TRANSACTION, and other statements -> CROSS table)?
    BR
    Sandra

  • HT4489 how to get Contacts from my google account?

    how to get Contacts from my google account?

    If you mean you want to get them in iCloud, export the contacts from Google as a vCard (see https://support.google.com/mail/answer/24911?hl=en), then import this to iCloud (see http://support.apple.com/kb/PH3605).

  • How to get value by running  in code behind?

    Hi all,
    i am running one stored procedure which return value.
    i am calling that stored procedure like this.
    Dim retvalue As Integer
    dtformat.ShortDatePattern = "MM/dd/yyyy"
    Dim YourDate As DateTime = Convert.ToDateTime(dt, dtformat).ToString("MMM/dd/yyyy")
    Dim hsh As New Hashtable
    objDataTier.OpenDbConnection()
    con1.Open()
    Dim oc As New OracleCommand("spSelectStartDay")
    oc.CommandType = CommandType.StoredProcedure
    oc.Parameters.Add("v_pidate", OracleType.DateTime).Value = dt
    retvalue = oc.Parameters("v_poRetval").Value.ToString()
    but not getting value in retvalue variable?
    how to get the value in that.
    my stored procedure is here.
    create or replace
    Procedure spSelectStartDay
    v_pidate IN DATE DEFAULT NULL ,
    v_poRetVal OUT NUMBER
    AS
    v_dpart NUMBER(10,0);
    v_date DATE;
    v_startweek NUMBER(10,0);
    BEGIN
    v_dpart := TO_Char(v_pidate,'DD') ;
    v_dpart := v_dpart - 1 ;
    v_date := Trunc(Trunc(v_pidate, 'MM')+1,'MM');
    v_startweek := TO_CHAR(to_date(v_date, 'dd-MM-yy'), 'd');
    v_poRetVal := v_startweek ;
    RETURN;
    END;
    thanks

    You need to add both parameters. You should create the parameter, then specify a direction. In C# (taken from a script that executes an anonymous block, but will work for your purposes)
                    using (OracleConnection oCon = new OracleConnection(_connectionString))
                        oCon.Open();
                        using (OracleCommand oCmd = new OracleCommand())
                            oCmd.Connection = oCon;
                            oCmd.CommandType = CommandType.Text;
                            oCmd.CommandText = sql;
                            oCmd.BindByName = true;
                            OracleParameter opS = new OracleParameter("p_s", OracleDbType.Varchar2, 100, s, ParameterDirection.Input);
                            OracleParameter opC = new OracleParameter("p_c", OracleDbType.Int32, c, ParameterDirection.Input);
                            OracleParameter opA = new OracleParameter("v_a", OracleDbType.BinaryDouble, ParameterDirection.InputOutput);
                            oCmd.Parameters.Add(opS);
                            oCmd.Parameters.Add(opC);
                            oCmd.Parameters.Add(opA);
                            oCmd.ExecuteNonQuery();
                            a = double.Parse(oCmd.Parameters["v_a"].Value.ToString()); // note there are better ways to do this... it's quick and dirty to parse the string value.

  • How to get facebook to say via ipad when I share something using my ipad

    how to get facebook to say via ipad when I share something using my ipad

    It appears that the app is indeed not available in Finland, as I can't find it by searching the iTunes Store there. You'll have to contact the developer of Onlive Desktop and ask if they have any plans to release their service in your country.
    Regards.

  • How can i fix a 4280 error code when trying to burn cd's on itunes

    How can I fix a 4280 error code when trying to burn cd's on itunes for windows? Model drive is drive D: TSSTcorpCDRWDVD TS-H492C

    Did you by chance find out a solution with your problem?     I am having the same issue with the same drive.    I even uninstalled iTunes and completely reinstalled it.
    Thank you for any help anyone can offer.    I'm not having any luck finding answers on the net.     Thx.

  • How to get a second page in a form letter report after create it by Wizard

    How to get a second page in a form letter report after create it by Wizard
    i've built a report by wizard with a sql-Query
    the sql give me back for example 3 dataset
    and the report prints 3 pages
    dataset 1 - page 1
    dataset 2 - page 1
    dataset 3 - page 1
    thats ok,
    but now I need a second page per dataset ( with only a text )
    so that the report should print 2 pages per dataset
    dataset 1 - page 1 ,page 2
    dataset 2 - page 1 ,page 2
    dataset 3 - page 1 ,page 2
    It's not really clear for me, what to do, to create the second page
    any help ?

    .... found answer in other forum

  • I recently purchased songs from itunes via my pc and I dont know how to get them onto my iphone? When I click the sync button it says I will lose all the music currently on my iphone.. Help :(

    I recently purchased songs from itunes via my pc and I dont know how to get them onto my iphone? When I click the sync button it says I will lose all the music currently on my iphone.. Help

    If you're syncing with a different iTunes library than the one you previously synced with, then there is no way around it. You're gonna loose the old data. The only way round it would be to make sure that all the music files on your iPhone is also in your iTunes library. If you still have access to the computer with the old library, you could copy the files on to an external harddrive, and then import them into your new iTunes library.
    If it is in fact the same library, then the music currently on your iphone, is also in your itunes library. Just make sure that the artists/albums/playlists, or whatever you sync contains these tracks, that you allready have on your phone and don't want deleted. What i do is, i create a playlist specifically for my iPhone, and i set it up to only sync with this playlist. Whenever i hear a track from my iTunes library or buy a new track that i want on my phone, i just drag it to this playlist and next time i synchronize, it's there without deleting anything else.

  • How to get backed up data in iphone3gs when the phone is disabled

    how to get backed up data in iphone3gs when the phone is disabled

    can someone help? this is shaking my trust in icloud backups.
    i am on iOS 6.1.

  • How to get into desktop screen at once when client come into RDP session?

    How to get into desktop screen at once when client come into RDP session?
    When users login into terminal server I would like they see own desktop and open web page of corp portal.
    How to do that?

    Hi
    Hope below links will help
    http://blog.cloud-client.info/2012/10/03/tip-configure-a-keyboard-shortcut-to-minimize-fullscreen-citrix-or-microsoft-rds-sessions-for-a-linux-based-igel-os/
    Also there are some Remote Desktop Services shortcut keys
    http://msdn.microsoft.com/en-us/library/aa383500%28v=vs.85%29.aspx
    Regards,
    Rajesh J S

  • How do I fix a 1611 error code when trying to restore my ipod?

    How do I fix a 1611 error code when trying to restore my ipod touch?

    Click here and follow the instructions.
    (120576)

  • How to get a usb device to show up on macbook pro 13inch retina display late 2013 model. os mavericks

    how to get a usb device to show up on macbook pro 13inch retina display late 2013 model? os mavericks

    Check with your telephone carrier or Android:
    https://www.android.com/filetransfer/
    Ciao.

  • How do get rid of the twitter app when there's no trace of it except for update notices on app store and that too with a stranger's id ??

    How do get rid of the twitter app when there's no trace of it except for update notices on app store and that too with a stranger's id ??

    ayk74,
    so you have no idea where some of your installed software originally came from?

  • How to display the details of particular order when click on button in sapui5

    Hi Experts,
        How to display the details of particular order when click on button in sapui5?
    I Have a requirement that is i want display all the list of orders coming from backend as shown in image below
    then in that i have a button when i press the button  it need to display the details of particular order as shown in image below
    Please help me .
    Thanks & Regards
    chitti

    Does anyone know how to display the index of current desktop?
    Brute force - - I have written the number of the Desktop directly onto the wallpaper picture I am using for each Desktop  (easy to do with Preview).
    All Desktops are using different wallpaper photos, so they are easily recognized by the color scheme, and in the upper left corner is the number.
    Regards
    Léonie

Maybe you are looking for

  • All my Notes are gone now. How do I get my Notes back?

    I noticed emails in my sent folder titled No Reciepent. I deleted them I found that all my Notes are gone now. How do I get my Notes back?

  • How to control the visibility of column in ALV

    Hi,Expert, I'm using class CL_GUI_ALV_GRID to dispaly informations,but I want to hide some columns using code,how could I achieve that? Thanks a lot

  • Is iMac Drive dead?

    I think my 2007 24" iMac HD is dead, want to confirm. Cannot open in recovery HD, get folder with question mark on start up.  Startup from ext HD, it appears in disk utility with name of "media".  I cannot use repair or verify disk since the are grey

  • Universe Connection in Business Objects for SAP BW as Source.

    Hi All, I am trying to create a new Universe connection where i took SAP  as a source , I filled all the details that is required for connection like Application server and system number. when i click on next it showing a error like this-- businessob

  • Adapter activate

    Hi XI gurus     please help me in resolving this issue    I am getting this problem that " adapter is inactive" how to over come this     i check in adapter configuration i.e when creating communication channel there the adapter status is active . In