Get the user who created a folder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vayse

    Get the user who created a folder

    Hi
    I'm working on a program that stores information about the folder list on a
    server.
    I've listed the code I have below. Everything works fine, except I don't
    know how to get the name of the user who created the folder.
    Can someone tell me how I would find the users name?
    Thanks
    Vayse


    For Each foundDirectory In
    My.Computer.Fil eSystem.GetDire ctories(stFolde r)
    getInfo =
    My.Computer.Fil eSystem.GetDire ctoryInfo(found Directory)
    rowFolder = dtFolders.NewFo ldersRow
    With rowFolder
    .FolderName = getInfo.Name
    .FullPath = getInfo.FullNam e
    .CreatedTime = getInfo.Creatio nTime
    .LastWritten = getInfo.LastWri teTime
    .NumFiles = getInfo.GetFile s.Length
    .NumSubDirs = getInfo.GetDire ctories.Length
    End With
    dtFolders.AddFo ldersRow(rowFol der)
    Next foundDirectory


Working...