Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: Display a String[] Array Pin
amitcoder835-Nov-07 0:31
amitcoder835-Nov-07 0:31 
QuestionUnauthorised access to my local directory while using webclient [modified] Pin
amitcoder835-Nov-07 0:15
amitcoder835-Nov-07 0:15 
QuestionEmail mime type Pin
dabs5-Nov-07 0:04
dabs5-Nov-07 0:04 
QuestionLOC Counter Pin
Ya3sam4-Nov-07 23:57
Ya3sam4-Nov-07 23:57 
AnswerRe: LOC Counter Pin
Pete O'Hanlon5-Nov-07 0:14
mvePete O'Hanlon5-Nov-07 0:14 
JokeRe: LOC Counter Pin
Luc Pattyn5-Nov-07 2:08
sitebuilderLuc Pattyn5-Nov-07 2:08 
GeneralRe: LOC Counter Pin
Pete O'Hanlon5-Nov-07 4:22
mvePete O'Hanlon5-Nov-07 4:22 
QuestionMessageQueue permissions Pin
gewe4-Nov-07 23:55
gewe4-Nov-07 23:55 
I have a messagequeue, that was created from a VB script. My C# code has to change the permissions on that queue, giving Domain Admins full control, and revoking access for the current user (which was the creator of the queue).

After running the code, Domain Admins has full control, but the current user (who is a member of Domain admins) gets an access denied when viewing the queue properties via MMC. The user can delete the queue via MMC however.

If I let the code only add Domain Admins, and I remove the current user ACE using MMC, the user can still check the queue properties. This is afaik the expected behaviour.

I am using queue.SetPermissions with entrytype AccessControlEntryType.Revoke. Documentation says this will remove ACE's for this user (both denies and allows).

Why can't the user view queue permissions (yet delete the queue is allowed) when I revoke the user's permissions, while the user is a Domain Admin (which has full control)?
QuestionGet methods from class file Pin
Ya3sam4-Nov-07 23:53
Ya3sam4-Nov-07 23:53 
AnswerRe: Get methods from class file Pin
Pete O'Hanlon5-Nov-07 0:10
mvePete O'Hanlon5-Nov-07 0:10 
GeneralRe: Get methods from class file Pin
Ya3sam5-Nov-07 1:41
Ya3sam5-Nov-07 1:41 
GeneralRe: Get methods from class file Pin
Pete O'Hanlon5-Nov-07 1:48
mvePete O'Hanlon5-Nov-07 1:48 
GeneralRe: Get methods from class file Pin
Ya3sam5-Nov-07 3:48
Ya3sam5-Nov-07 3:48 
QuestionCalculate CPU Percentage of processes in a dual core system Pin
Lakshmi Venkatesh4-Nov-07 22:56
Lakshmi Venkatesh4-Nov-07 22:56 
AnswerRe: Calculate CPU Percentage of processes in a dual core system Pin
Luc Pattyn5-Nov-07 2:13
sitebuilderLuc Pattyn5-Nov-07 2:13 
QuestionPackage that can be used for POS Pin
ChrisFarrugia4-Nov-07 22:36
ChrisFarrugia4-Nov-07 22:36 
AnswerRe: Package that can be used for POS Pin
Pete O'Hanlon4-Nov-07 22:38
mvePete O'Hanlon4-Nov-07 22:38 
AnswerRe: Package that can be used for POS Pin
martin_hughes4-Nov-07 23:48
martin_hughes4-Nov-07 23:48 
GeneralRe: Package that can be used for POS Pin
ChrisFarrugia5-Nov-07 0:39
ChrisFarrugia5-Nov-07 0:39 
AnswerRe: Package that can be used for POS Pin
MickCurley5-Nov-07 11:24
MickCurley5-Nov-07 11:24 
QuestionComposite Control Skin Support In Design-Time Pin
neco neco4-Nov-07 22:27
neco neco4-Nov-07 22:27 
QuestionWebRequest class questions Pin
Stevo Z4-Nov-07 22:14
Stevo Z4-Nov-07 22:14 
AnswerRe: WebRequest class questions Pin
B.A4-Nov-07 23:49
B.A4-Nov-07 23:49 
Questiondate and time problem Pin
NewToAspDotNet4-Nov-07 21:50
NewToAspDotNet4-Nov-07 21:50 
AnswerRe: date and time problem Pin
N a v a n e e t h4-Nov-07 22:04
N a v a n e e t h4-Nov-07 22:04 

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.