WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

wNT
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

wntOwnerGet and wntOwnerSet Tips

Keywords:      wntOwnerGet wntOwnerSet

The following notes relate to the wntOwnerGet and wntOwnerSet functions in Winbatch:
  1. With wntOwnerGet, if you're specifying a share, it can't be a top level share. It must be a share under a top-level directory.

  2. What you specify in the wntOwnerSet function must be a valid user to actually return anything in the wntOwnerGet function. And that's up to the server to resolve.

    You must also have the appropriate security rights.

    Whatever you give us in the wntOnwerSet function, Winbatch passes onto the server. If it's not fully qualified, it won't work.

  3. We recommend doing a wntOwnerGet first, and save that value, which should be fully-qualified, and passing that onto the wntOwnerSet function.

    (It's safer to use a fully-qualified owner name back from the wntOwnerGet function.)

    Then take a look at it to see that the wntOwnerGet returns the same thing as is displayed in Explorer.

  4. Security records are very delicate, so be careful of third-party utilities that change ownership rights, which might corrupt records.

Article ID:   W13576
Filename:   wntOwnerGet - wntOwnerSet Tips.txt
File Created: 1999:04:15:16:54:58
Last Updated: 1999:04:15:16:54:58