PS Sharon,
Unless you just love the challenge of mangled (I mean Managed) C++; I'd
heartily recommend using C# for your Web Service, and if you must access
some native code, then create a thin managed layer that can "talk" both
C/C++ and C#.
Dilton
"DM McGowan II" <> wrote in message
news:QuKdnU1jf_PKjBrcRVn-...
> Hi,
>
> This should work:
>
> HttpContext::Current->User->Identity->Name
>
> Dilton
>
> "Sharon McCarty" <> wrote in message
> news: m...
>> Hi Everyone,
>>
>> I created a managed c++ web service and I would like to access the
>> current user. For instance, in a C# web service, you would normally
>> type in: HttpContext.Current.User.Identity.Name;
>>
>> to get the user name. Can someone tell me how I would achieve this in
>> managed c++ web service?
>>
>> Thanks
>>
>> Sharon
>
|