Re: WindowsPrinciple.IsInRole not working with cached info
From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 01/26/05
- Next message: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Previous message: John: "WindowsPrinciple.IsInRole not working with cached info"
- In reply to: John: "WindowsPrinciple.IsInRole not working with cached info"
- Next in thread: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Reply: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 26 Jan 2005 11:12:58 -0600
On Wed, 26 Jan 2005 11:11:14 -0500, "John" <john@nospam.com> wrote:
¤ I'm using IsInRole to determine a user's authority to use various features
¤ of a winforms application. Everything works fine while the client machine
¤ is connected to the network. However, when the application is disconnected,
¤ the authentication works with the cached credentials, but any attempt (using
¤ both IsInRole, and other methods) to access the groups that the user is a
¤ member of fails. The custom groups I have created do not show up.
¤
¤ The client OS is Windows XP Pro with version v1.1.4322 of the framework.
¤ The principle is a WinNT 4 domain user.
¤
¤ Any thoughts?
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.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
- Next message: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Previous message: John: "WindowsPrinciple.IsInRole not working with cached info"
- In reply to: John: "WindowsPrinciple.IsInRole not working with cached info"
- Next in thread: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Reply: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|