Re: WindowsPrinciple.IsInRole not working with cached info
From: John (john_at_nospam.com)
Date: 01/26/05
- Next message: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Previous message: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- In reply to: William Stacey [MVP]: "Re: 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"
- 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 13:05:37 -0500
I'm definitely not using the local SAM. I follow most of what you're
saying, but I'm not familiar with "winpric" - I assume you're abreviating
something here, but I'm not catching on.
"William Stacey [MVP]" <staceywREMOVE@mvps.org> wrote in message
news:%23TQEuB9AFHA.1296@TK2MSFTNGP10.phx.gbl...
> I wonder if when disconnected, LogonUser is using the *local SAM to get
the
> WinIdent? Then your call to IsInRole will be looking at local SAM and
group
> may not exist locally. Another idea would be to verify via LogonUser, but
> create GenericID and GenericPrinciple instead of WindowsId/Princ objects.
> You will need to populate the groups yourself in the GP object. You can't
> really return a list from winpric, but you can make required calls to
> winpric to check required groups, then populate the GP. Then just the GP
> and GI, that should work disconnected. The user does not get a GP if it
was
> not a member of the role as you authenticated in your GetGP(string
username,
> string password) method.
- Next message: John: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Previous message: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- In reply to: William Stacey [MVP]: "Re: 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"
- Reply: William Stacey [MVP]: "Re: WindowsPrinciple.IsInRole not working with cached info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]