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. Advertisements

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. Mike Newton
    Replies:
    0
    Views:
    3,140
    Mike Newton
    Jul 23, 2004
  2. =?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:
    568
    Scott Allen
    Dec 21, 2004
  3. Marcin Vorbrodt

    auto_ptr and sink function

    Marcin Vorbrodt, Sep 22, 2003, in forum: C++
    Replies:
    4
    Views:
    631
    tom_usenet
    Sep 22, 2003
  4. Eric Kaplan

    c++ event sink

    Eric Kaplan, Apr 12, 2008, in forum: C++
    Replies:
    7
    Views:
    3,107
    Davis King
    Apr 13, 2008
  5. Saraswati lakki
    Replies:
    0
    Views:
    1,684
    Saraswati lakki
    Jan 6, 2012
  6. Jack
    Replies:
    2
    Views:
    375
  7. Philippe Lang

    Win32 OLE event sink & Quit

    Philippe Lang, Apr 21, 2008, in forum: Ruby
    Replies:
    2
    Views:
    398
    Philippe Lang
    Apr 22, 2008
  8. Eric Wong
    Replies:
    0
    Views:
    337
    Eric Wong
    Feb 13, 2010
Loading...