how to get current user in event sink in share point server

Discussion in 'ASP .Net' started by prem, Jul 18, 2006.

  1. prem

    prem Guest

    We are writing a code for EventSink, in the EventSink code, we need to
    get the user name, the code we use to get the current

    user name is:

    Sharepointweb.currentUser.Name

    when we use the above code, we always get the user name as 'NT
    AUTHORITY\NETWORK SERVICES'.

    We need the actual windows user name, kindly advice.

    Thanks in advance for your efforts.
     
    prem, Jul 18, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?b3R0bw==?=

    Using custom sink and cookies from ASP.NET application

    =?Utf-8?B?b3R0bw==?=, Dec 21, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    455
    Scott Allen
    Dec 21, 2004
  2. Eric Kaplan

    c++ event sink

    Eric Kaplan, Apr 12, 2008, in forum: C++
    Replies:
    7
    Views:
    2,796
    Davis King
    Apr 13, 2008
  3. Ace Fekay [MCT]

    Re: SMTP event sink & Outlook Web Access

    Ace Fekay [MCT], Nov 16, 2009, in forum: ASP .Net
    Replies:
    0
    Views:
    498
    Ace Fekay [MCT]
    Nov 16, 2009
  4. Saraswati lakki
    Replies:
    0
    Views:
    1,356
    Saraswati lakki
    Jan 6, 2012
  5. Philippe Lang

    Win32 OLE event sink & Quit

    Philippe Lang, Apr 21, 2008, in forum: Ruby
    Replies:
    2
    Views:
    212
    Philippe Lang
    Apr 22, 2008
Loading...

Share This Page