Re: VB .Net Security Question

From: MS Security (securityonestepbehind@theworm.com)
Date: 02/15/03

  • Next message: David Spectorman: "COM+ administration via MMC"
    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



    Relevant Pages

    • Re: VB .Net Security Question
      ... > I am working on the middle tier of an enterprise application, ... > embedding security checking in it. ... I can make this code work just fine ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • VB .Net Security Question
      ... I am working on the middle tier of an enterprise application, ... embedding security checking in it. ... I am trying to use the following snippet ... I can make this code work just fine ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • VB .Net Security Question
      ... I am working on the middle tier of an enterprise application, ... embedding security checking in it. ... I am trying to use the following snippet ... I can make this code work just fine ...
      (microsoft.public.dotnet.security)