get client credentials at the DCOM Application level? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

get client credentials at the DCOM Application level?

sarigSsarigS Posts: 1Member
Hi Guys,

So DCOM has authentication mechanism under the hood at the OS level.
Is there any formal way to get the DCOM client details within the DCOM server context?

I'm looking for something like this (in pseodu code) @Server side DCOM context:

HRESULT __stdcall test()
{
string username = DCOM::getClientCallerDetails(...).username();
if (username=="bublil") do something
else ...
return...
}

Many thanks,
sarig
Sign In or Register to comment.