Re: VB .Net Security Question
From: MS Security (securityonestepbehind@theworm.com)
Date: 02/15/03
- Next message: Lennart: "website"
- Previous message: Kal: "Delete Auth. Cookie When Closing Browser"
- In reply to: David Allen: "VB .Net Security Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 15 Feb 2003 13:04:29 +0100 From: MS Security <securityonestepbehind@theworm.com>
David Allen wrote:
> Hi:
> I am working on the middle tier of an enterprise application, and am
> embedding security checking in it. I am trying to use the following snippet
> of code to check to see if the currently logged-on use is in the group
> ArtUser. I have tried putting the domain in front of the group name
> (DOMAIN\ArtUser) and that didn't work. I can make this code work just fine
> if I use on of the BUILTIN groups like BUILTIN\Users, and it works fine
> using Name := and the user's name. Can anyone help me out with this? Am I
> missing something that is just blatently obvious?
>
> <PrincipalPermission(SecurityAction.Demand, Role:="ArtUser")> _
> Public Function GetArtRefs() As ArtRefs
>
> 'returns a collection of artref objects.
> Dim oRefs As New ArtRefs()
>
> Thanks in advance,
>
> Dave Allen
>
>
just swithc to java
- Next message: Lennart: "website"
- Previous message: Kal: "Delete Auth. Cookie When Closing Browser"
- In reply to: David Allen: "VB .Net Security Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|