Click here to Skip to main content
15,885,244 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 7:39
C-P-User-331-Oct-12 7:39 
GeneralRe: Making Serial Port Visible Pin
Big Daddy Farang31-Oct-12 8:26
Big Daddy Farang31-Oct-12 8:26 
GeneralRe: Making Serial Port Visible Pin
C-P-User-32-Nov-12 7:52
C-P-User-32-Nov-12 7:52 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 8:09
C-P-User-331-Oct-12 8:09 
GeneralRe: Making Serial Port Visible Pin
Big Daddy Farang31-Oct-12 8:37
Big Daddy Farang31-Oct-12 8:37 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 10:29
C-P-User-331-Oct-12 10:29 
GeneralRe: Making Serial Port Visible Pin
C-P-User-32-Nov-12 6:58
C-P-User-32-Nov-12 6:58 
QuestionC# acess user roles Pin
classy_dog30-Oct-12 9:16
classy_dog30-Oct-12 9:16 
In a C# 2008 desktop application, I need change the application since all the users are moving from one domain to new domain. The current application does not let the user access information under the new domain name.
To accomplish this goal, I would like to see what roles have been setup for those users starting with myself.
To accomplish this goal, I would like to know how to access those roles.

I do know that when I look at: Thread.CurrentPrincipal.Identity.Name, I can access the person's name. I also know that if I use System.Security.Principal.WindowsIdentity.GetCurrent(), I get the same information.

However can you tell me in code how to access the subcategories in the following:
1. Thread.CurrentPrincipal.Identity
2. System.Security.Principal.WindowsIdentity

Can you tell me in tell or show me in code how to accomplish this goal?
AnswerRe: C# acess user roles Pin
Pete O'Hanlon30-Oct-12 10:29
mvePete O'Hanlon30-Oct-12 10:29 
QuestionWPF - beginner Pin
Nitin S30-Oct-12 1:14
professionalNitin S30-Oct-12 1:14 
AnswerRe: WPF - beginner Pin
V.30-Oct-12 1:22
professionalV.30-Oct-12 1:22 
AnswerRe: WPF - beginner Pin
Abhinav S30-Oct-12 6:31
Abhinav S30-Oct-12 6:31 
Question"Attempted to read or write protected memory." why am i getting this exception. Pin
Member 943048330-Oct-12 0:37
Member 943048330-Oct-12 0:37 
AnswerRe: "Attempted to read or write protected memory." why am i getting this exception. Pin
Richard MacCutchan30-Oct-12 0:49
mveRichard MacCutchan30-Oct-12 0:49 
AnswerRe: "Attempted to read or write protected memory." why am i getting this exception. Pin
David Knechtges30-Oct-12 2:59
David Knechtges30-Oct-12 2:59 
QuestionDrag and drop from windows form to explorer Pin
Somnath T Avhad30-Oct-12 0:04
Somnath T Avhad30-Oct-12 0:04 
AnswerRe: Drag and drop from windows form to explorer Pin
Ingo30-Oct-12 0:15
Ingo30-Oct-12 0:15 
QuestionDrag and drop from windows from to Explorer Pin
Somnath T Avhad30-Oct-12 0:01
Somnath T Avhad30-Oct-12 0:01 
AnswerRe: Drag and drop from windows from to Explorer Pin
Ingo30-Oct-12 0:11
Ingo30-Oct-12 0:11 
Questiondeserialization exception - socket Pin
devvvy29-Oct-12 23:02
devvvy29-Oct-12 23:02 
AnswerRe: deserialization exception - socket Pin
Richard MacCutchan29-Oct-12 23:08
mveRichard MacCutchan29-Oct-12 23:08 
GeneralRe: deserialization exception - socket Pin
devvvy29-Oct-12 23:33
devvvy29-Oct-12 23:33 
GeneralRe: deserialization exception - socket Pin
Richard MacCutchan30-Oct-12 0:42
mveRichard MacCutchan30-Oct-12 0:42 
GeneralRe: deserialization exception - socket Pin
devvvy30-Oct-12 17:44
devvvy30-Oct-12 17:44 
GeneralRe: deserialization exception - socket Pin
Richard MacCutchan30-Oct-12 22:49
mveRichard MacCutchan30-Oct-12 22:49 

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.