Click here to Skip to main content
15,847,077 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remoting and Events Pin
Heath Stewart10-Nov-03 6:51
protectorHeath Stewart10-Nov-03 6:51 
GeneralRe: Remoting and Events Pin
CillyMe10-Nov-03 15:37
CillyMe10-Nov-03 15:37 
GeneralRe: Remoting and Events Pin
Heath Stewart11-Nov-03 3:55
protectorHeath Stewart11-Nov-03 3:55 
GeneralRe: Remoting and Events Pin
LongRange.Shooter10-Nov-03 7:04
LongRange.Shooter10-Nov-03 7:04 
GeneralEnumerating Data Sources in C# Pin
Inam10-Nov-03 5:41
Inam10-Nov-03 5:41 
GeneralRe: Enumerating Data Sources in C# Pin
Heath Stewart10-Nov-03 6:33
protectorHeath Stewart10-Nov-03 6:33 
GeneralAlternatives to databinding Pin
Wjousts10-Nov-03 5:19
Wjousts10-Nov-03 5:19 
GeneralWindows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 5:16
LongRange.Shooter10-Nov-03 5: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 6:32
protectorHeath Stewart10-Nov-03 6:32 
GeneralRe: Windows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 7:25
LongRange.Shooter10-Nov-03 7:25 
GeneralAbsolute beginner Pin
-=LoKi=-10-Nov-03 3:03
-=LoKi=-10-Nov-03 3:03 
GeneralRe: Absolute beginner Pin
Heath Stewart10-Nov-03 4:37
protectorHeath Stewart10-Nov-03 4:37 
GeneralRe: Absolute beginner Pin
-=LoKi=-11-Nov-03 3:37
-=LoKi=-11-Nov-03 3:37 
GeneralRe: Absolute beginner Pin
Heath Stewart11-Nov-03 4:04
protectorHeath Stewart11-Nov-03 4:04 
GeneralRe: Absolute beginner Pin
Husein22-Nov-03 1:19
Husein22-Nov-03 1:19 
GeneralIIsWebServer method calling problem Pin
itismydick9-Nov-03 19:51
itismydick9-Nov-03 19:51 
GeneralRe: IIsWebServer method calling problem Pin
Heath Stewart10-Nov-03 4:47
protectorHeath Stewart10-Nov-03 4:47 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 22:07
itismydick10-Nov-03 22:07 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 22:20
itismydick10-Nov-03 22:20 
GeneralRe: IIsWebServer method calling problem Pin
itismydick10-Nov-03 22:47
itismydick10-Nov-03 22:47 
GeneralData Link Property Pin
Inam9-Nov-03 14:57
Inam9-Nov-03 14:57 
GeneralRe: Data Link Property Pin
BinhTran9-Nov-03 18:57
BinhTran9-Nov-03 18:57 
GeneralRe: Data Link Property Pin
BinhTran9-Nov-03 18:58
BinhTran9-Nov-03 18:58 
GeneralRe: Data Link Property Pin
Husein22-Nov-03 1:21
Husein22-Nov-03 1:21 
QuestionHow can I overdraw the titlebar? Pin
icysky9-Nov-03 14:44
icysky9-Nov-03 14: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.