User Profile

Collapse

Profile Sidebar

Collapse
cpajoe2001
cpajoe2001
Last Activity: Jul 24 '07, 04:20 PM
Joined: Jan 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cpajoe2001
    started a topic Vbscript to .Net Help
    in .NET

    Vbscript to .Net Help

    I need help trying to do this in C# i can't figure out how to convert this any help or even a point in the right direction.
    Code:
    strComputer = "."
    Set colGroups = GetObject("WinNT://" & strComputer & "")
    colGroups.Filter = Array("group")
    For Each objGroup In colGroups
        Wscript.Echo objGroup.Name 
        For Each objUser in objGroup.Members
            Wscript.Echo
    ...
    See more | Go to post

  • cpajoe2001
    started a topic Variable in DB2
    in DB2

    Variable in DB2

    I am working on a asp web application and have to use a DB2 database I usually use SQl and have noticed a few things differnt like Concatenation for example SQL uses + and DB2 uses || now I have ran into another one and i can't find the counterpart in SQL i can do

    Code:
    Select *
    From theTable
    Where Column = @Column
    where the @ is a variable so how do i do this in DB2?
    See more | Go to post

  • For the record after about 12+ hours of reading and searching i found the solution.



    Code:
    DirectorySecurity dsMyFolder = diMyFolder.GetAccessControl();
    
    sMyFolder.SetAccessRuleProtection(true, false);
    
    Directory.SetAccessControl(myFolder, dsMyFolder);
    See more | Go to post

    Leave a comment:


  • cpajoe2001
    started a topic Inherit from parent the permission entries....
    in .NET

    Inherit from parent the permission entries....

    I'm am looking for a way to set the ACE of a folder so it does not inherit from the parent and removes the permission entries that were previously applied.
    See more | Go to post

  • Thank you very much for that link that is a very good walkthrough....
    See more | Go to post

    Leave a comment:


  • Thank you.

    Sorry I have figured out the problem. I was sleeping last night when for some odd reason I was thinking about this project and it came to me i never said what group to add the user to. I am trying to add it to the OU that the group is in and not the group. Sorry for all of you who took a look at this but I have solved it. I guess working on code for the day and just looking at this made me just over look this small ...
    See more | Go to post

    Leave a comment:


  • Active Directory Adding user to Group, HRESULT: 0x80072014

    I am not sure if this is the proper place to put this thread but I have run into a road block. I am writing a web app that will create groups in Active Directory then add users to those groups. I have it creating the groups just fine however when i go to add a user i get. The requested operation did not satisfy one or more constraints associated
    with the class of the object. (Exception from HRESULT: 0x80072014) And I can not find any help...
    See more | Go to post

  • cpajoe2001
    started a topic Runing Dos Commands
    in .NET

    Runing Dos Commands

    Was hoping to get some help with this problem.

    What I have is a website that will be used to create DFS links on a DFS server from a asp 2.0 web site. The user puts in the share name and then selects the link location. Currently the only way I know of to insert the link is to run DFSCMD in dos currently I have a script that does this. The syntax is cmd \c DFSCMD /add "\\DFSServer\DF SGroup\Share" "\\TrueServer\P ath"...
    See more | Go to post

  • cpajoe2001
    started a topic Access Denied
    in .NET

    Access Denied

    I am having an issue and after searching around online for a day and half now and finding others with the same problem but yet no solution to my issue I am looking for help.

    What i have is ServerA which is a webserver running Win2k3 with IIS6, my domain account is a local administrator on this machine. The web app I am running is trying to write a file to ServerB which is also a Win2k3 machine. On the folder of the machine I am...
    See more | Go to post
No activity results to display
Show More
Working...