Click here to Skip to main content
15,898,996 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remoting and Events Pin
Heath Stewart10-Nov-03 5:51
protectorHeath Stewart10-Nov-03 5:51 
GeneralRe: Remoting and Events Pin
CillyMe10-Nov-03 14:37
CillyMe10-Nov-03 14:37 
GeneralRe: Remoting and Events Pin
Heath Stewart11-Nov-03 2:55
protectorHeath Stewart11-Nov-03 2:55 
GeneralRe: Remoting and Events Pin
LongRange.Shooter10-Nov-03 6:04
LongRange.Shooter10-Nov-03 6:04 
GeneralEnumerating Data Sources in C# Pin
Inam10-Nov-03 4:41
Inam10-Nov-03 4:41 
GeneralRe: Enumerating Data Sources in C# Pin
Heath Stewart10-Nov-03 5:33
protectorHeath Stewart10-Nov-03 5:33 
GeneralAlternatives to databinding Pin
Wjousts10-Nov-03 4:19
Wjousts10-Nov-03 4:19 
GeneralWindows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 4:16
LongRange.Shooter10-Nov-03 4:16 
I am using VS 2002 and the 1.0 framework.
I created two NT security groups for my application. I placed myself into one of those groups. I run NET USER /DOMAIN and it shows that I am in the correct group.

so I do the following:

C#
WindowsPrincipal principal = new
       WindowsPrinciple(WindowsIdentity.GetCurrent());
bool isValid = principal.IsInRole("D-U-MYSECGROUP");

This is always returning false, even though the NET USER /DOMAIN clearly shows me in the group. Why?????

Any help appreciated!

Thanks. Michael

_____________________________________________
The world is a dangerous place.
Not because of those that do evil,
    but because of those who look on and do nothing.

GeneralRe: Windows Security check fails when it should not??!! Pin
Heath Stewart10-Nov-03 5:32
protectorHeath Stewart10-Nov-03 5:32 
GeneralRe: Windows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 6:25
LongRange.Shooter10-Nov-03 6:25 
GeneralAbsolute beginner Pin
-=LoKi=-10-Nov-03 2:03
-=LoKi=-10-Nov-03 2:03 
GeneralRe: Absolute beginner Pin
Heath Stewart10-Nov-03 3:37
protectorHeath Stewart10-Nov-03 3:37 
GeneralRe: Absolute beginner Pin
-=LoKi=-11-Nov-03 2:37
-=LoKi=-11-Nov-03 2:37 
GeneralRe: Absolute beginner Pin
Heath Stewart11-Nov-03 3:04
protectorHeath Stewart11-Nov-03 3:04 
GeneralRe: Absolute beginner Pin
Husein22-Nov-03 0:19
Husein22-Nov-03 0:19 
GeneralIIsWebServer method calling problem Pin
itismydick9-Nov-03 18:51
itismydick9-Nov-03 18:51 
GeneralRe: IIsWebServer method calling problem Pin
Heath Stewart10-Nov-03 3:47
protectorHeath Stewart10-Nov-03 3:47 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 21:07
itismydick10-Nov-03 21:07 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 21:20
itismydick10-Nov-03 21:20 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 21:47
itismydick10-Nov-03 21:47 
GeneralData Link Property Pin
Inam9-Nov-03 13:57
Inam9-Nov-03 13:57 
GeneralRe: Data Link Property Pin
BinhTran9-Nov-03 17:57
BinhTran9-Nov-03 17:57 
GeneralRe: Data Link Property Pin
BinhTran9-Nov-03 17:58
BinhTran9-Nov-03 17:58 
GeneralRe: Data Link Property Pin
Husein22-Nov-03 0:21
Husein22-Nov-03 0:21 
QuestionHow can I overdraw the titlebar? Pin
icysky9-Nov-03 13:44
icysky9-Nov-03 13:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.