Re: WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Jul 2006 05:17:58 +0000 (UTC)
framework version??
Hi,
I want to be able to retrieve user information on the server of my
remoting
app... What I did is the following : I called
System.Security.WindowsIdentity.GetCurrent().Token and sent it to the
server
(via remoting). When I try to recreate the WindowsIdentity using the
Token
server-side, it tells me the Token is invalid even if the server app
is on
the same computer (same windows, same all) than the client app.
Is there a way I can do what I need to do? I mean, be able to retrieve
the user infos (groups) using something I can send through network?
(ideally encrypted)
I've also seen in the same object, the property .User (that contains
the User SID on the NT Network). Is there something to do with this
value so I can retrieve the user it belongs to and get the groups (or
roles) it's in?
thanks
ThunderMusic
.
- Follow-Ups:
- Re: WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- From: ThunderMusic
- Re: WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- References:
- WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- From: ThunderMusic
- WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- Prev by Date: Re: code access security across the network
- Next by Date: Re: WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- Previous by thread: WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- Next by thread: Re: WindowsIdentity.GetCurrent().Token cannot be used when remoting?
- Index(es):
Relevant Pages
|