Re: WindowsPrinciple.IsInRole not working with cached info
From: John (john_at_nospam.com)
Date: 01/26/05
- Next message: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Previous message: Paul Clement: "Re: WindowsPrinciple.IsInRole not working with cached info"
- In reply to: Paul Clement: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Next in thread: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Reply: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 26 Jan 2005 12:40:17 -0500
> Are you caching role credentials in a Principal object or are you querying
network role credentials?
> If you're checking network credentials or roles I don't see how this is
going to work when
> disconnected.
I'm not doing anything that I know about to cache role credentials. I'm
simply making the a call to IsInRole( "MyGroup" ). When I'm connected to
the network, this works properly. However, when the computer is
disconnected, it does not. My call to LogonUser does succeed when
disconnected, apparently using some sort of credentials cached by Windows.
I was hoping that this caching mechanism would also hold the list of groups
the user is a member of, but apparently it does not. I need to have this
work if the user starts the application after the machine has been
disconnected, so I won't be able to cache anything myself. I'm really
looking to understand what Windows is caching.
Thanks,
John
- Next message: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Previous message: Paul Clement: "Re: WindowsPrinciple.IsInRole not working with cached info"
- In reply to: Paul Clement: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Next in thread: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Reply: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]