Click here to Skip to main content
11,721,289 members (80,621 online)

.NET Framework

 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966139-Jan-13 3:15
membersteve_94966139-Jan-13 3:15 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Eddy Vluggen9-Jan-13 4:31
mvpEddy Vluggen9-Jan-13 4:31 
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Alan N9-Jan-13 6:17
memberAlan N9-Jan-13 6:17 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966139-Jan-13 20:35
membersteve_94966139-Jan-13 20:35 
QuestionDistributing Changes to a DLL that Other Assemblies Depend Upon Pin
Richard Andrew x648-Jan-13 2:24
memberRichard Andrew x648-Jan-13 2:24 
AnswerRe: Distributing Changes to a DLL that Other Assemblies Depend Upon Pin
Pete O'Hanlon8-Jan-13 2:31
protectorPete O'Hanlon8-Jan-13 2:31 
QuestionMethod Level security based on User logged in Pin
pankajbaunthiyal7-Jan-13 22:31
memberpankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in Pin
Pete O'Hanlon7-Jan-13 23:44
protectorPete O'Hanlon7-Jan-13 23:44 
You could use the RoleProvider to determine whether or not the user has the appropriate permission to execute a particular method.

I will say, however, that you should be approaching this from the perspective of what the user sees rather than locking off individual methods. In other words, it's better to prevent the user from being able to see a menu option/click it, than it is to let them click it and then tell them that they didn't have the appropriate permission to execute the method.

As you haven't stated what technology you are using, this is as close as I'm going to be able to give you a full answer without overloading you with details for technologies you aren't interested in.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

QuestionIOException was Unhandled Pin
jankevint7-Jan-13 15:39
memberjankevint7-Jan-13 15:39 
AnswerRe: IOException was Unhandled Pin
Richard MacCutchan7-Jan-13 22:24
mvpRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pin
samijf6-Jan-13 21:11
membersamijf6-Jan-13 21:11 
AnswerRe: User password encryption in .Net Framework 4.5 Pin
Eddy Vluggen6-Jan-13 21:15
mvpEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question Pin
Kevin Marois4-Jan-13 5:32
memberKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:13
mvpRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question Pin
Kevin Marois4-Jan-13 6:20
memberKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:58
mvpRichard MacCutchan4-Jan-13 6:58 
AnswerRe: Build Output Question Pin
Abhinav S4-Jan-13 6:20
mvpAbhinav S4-Jan-13 6:20 
AnswerRe: Build Output Question Pin
Sandeep Mewara4-Jan-13 6:28
mvpSandeep Mewara4-Jan-13 6:28 
QuestionNullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." Pin
indian14327-Dec-12 18:14
memberindian14327-Dec-12 18:14 
AnswerRe: Nullable(Of Decimal) type variable is throwing exception "Nullable object must have a value." Pin
Eddy Vluggen28-Dec-12 8:41
memberEddy Vluggen28-Dec-12 8:41 
QuestionC# statement var indirect val Pin
codejuggler927-Dec-12 6:33
membercodejuggler927-Dec-12 6:33 
AnswerRe: C# statement var indirect val Pin
Dave Kreskowiak27-Dec-12 7:23
mvpDave Kreskowiak27-Dec-12 7:23 
GeneralRe: C# statement var indirect val Pin
codejuggler927-Dec-12 7:58
membercodejuggler927-Dec-12 7:58 
GeneralRe: C# statement var indirect val Pin
Dave Kreskowiak27-Dec-12 8:47
mvpDave Kreskowiak27-Dec-12 8:47 
QuestionNeeded: PGP source code Pin
Gregory.Gadow26-Dec-12 5:30
memberGregory.Gadow26-Dec-12 5:30 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 5 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid