Click here to Skip to main content
15,921,174 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: i need dynamic query with different criteria Pin
MAGICIANMERLIN8-Aug-05 10:55
MAGICIANMERLIN8-Aug-05 10:55 
GeneralRe: i need dynamic query with different criteria Pin
Christian Graus8-Aug-05 13:16
protectorChristian Graus8-Aug-05 13:16 
GeneralRichTextBox Pin
SeLoRBIS7-Aug-05 1:49
SeLoRBIS7-Aug-05 1:49 
QuestionHow can get Received value in LocalNetwork Connecttion Pin
Anonymous7-Aug-05 1:45
Anonymous7-Aug-05 1:45 
AnswerRe: How can get Received value in LocalNetwork Connecttion Pin
Dave Kreskowiak7-Aug-05 4:47
mveDave Kreskowiak7-Aug-05 4:47 
GeneralStuck on Getting a Changed Value in a DropDownList within a DataList Pin
asalyon6-Aug-05 15:08
asalyon6-Aug-05 15:08 
GeneralRe: Stuck on Getting a Changed Value in a DropDownList within a DataList Pin
Christian Graus8-Aug-05 19:05
protectorChristian Graus8-Aug-05 19:05 
GeneralDeclarative Security w/ custom principal Pin
Moonark6-Aug-05 11:43
Moonark6-Aug-05 11:43 
I have created a custom principal class based on IPrincipal and have exteded it for additional properties and methogs such as .UserName, .UserID to return data and IsInAnyRole to accept a list of possible roles for a user. Is there a way that I can use Declarative security with this for something like...

Public Shared Sub _<br />
    [PrincipalPermissionAttribute(SecurityAction.Demand, IsInAnyRole:="Role1,Role2,etc...")] _<br />
    PrivateInfo()<br />
    <br />
        'Print secret data.<br />
        Console.WriteLine(ControlChars.CrLf + "You have access to the private data!")<br />
    End Sub


The isInAnyRole is not part of the PrincipalPermissionAttribute class though. Is there an easy way to write or extend it so that I can use it with extended methods from my custom principal class?

Thanks in advanvce for any help...
GeneralEXECUTENONQUERY Pin
MAGICIANMERLIN6-Aug-05 9:34
MAGICIANMERLIN6-Aug-05 9:34 
GeneralRe: EXECUTENONQUERY Pin
rwestgraham7-Aug-05 17:52
rwestgraham7-Aug-05 17:52 
GeneralRe: EXECUTENONQUERY Pin
MAGICIANMERLIN8-Aug-05 10:51
MAGICIANMERLIN8-Aug-05 10:51 
GeneralRemote system information Pin
Anonymous6-Aug-05 6:11
Anonymous6-Aug-05 6:11 
GeneralRe: Remote system information Pin
Rizwan Bashir8-Aug-05 11:34
Rizwan Bashir8-Aug-05 11:34 
GeneralDatagrid Images Pin
Anonymous6-Aug-05 0:54
Anonymous6-Aug-05 0:54 
GeneralRe: Reports Pin
Anonymous5-Aug-05 23:59
Anonymous5-Aug-05 23:59 
GeneralRe: Reports Pin
Christian Graus7-Aug-05 13:57
protectorChristian Graus7-Aug-05 13:57 
GeneralRe: Reports Pin
Anonymous7-Aug-05 19:38
Anonymous7-Aug-05 19:38 
GeneralRe: Reports Pin
Christian Graus8-Aug-05 13:08
protectorChristian Graus8-Aug-05 13:08 
GeneralRe: Reports Pin
Anonymous8-Aug-05 18:58
Anonymous8-Aug-05 18:58 
GeneralRe: Reports Pin
Christian Graus8-Aug-05 19:03
protectorChristian Graus8-Aug-05 19:03 
GeneralRe: Reports Pin
Anonymous8-Aug-05 20:30
Anonymous8-Aug-05 20:30 
GeneralRe: Reports Pin
Christian Graus8-Aug-05 20:40
protectorChristian Graus8-Aug-05 20:40 
GeneralRe: Reports Pin
Anonymous8-Aug-05 20:49
Anonymous8-Aug-05 20:49 
GeneralRe: Reports Pin
Christian Graus9-Aug-05 12:57
protectorChristian Graus9-Aug-05 12:57 
GeneralRe: Reports Pin
Anonymous9-Aug-05 19:14
Anonymous9-Aug-05 19:14 

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.