We are using an API which require a username pointer as one of its parameters. The function is BuildExplicitAccessWithName.
The conversion of the username to a pointer is done using an OCX. The function works well as long as we are sitting on the NT server itself. However, as oppose to other API functions we have, we can't pass the server name as one of the parameter which would have give us the possibility to execute that function from a workstation. One of the Microsoft article mentions something about putting the domain in the username as well.
I tried several possibilities with the domain name or the computer server name with the user or the group. We use the BuildExplicitAccessWithName in one of the needed functions in order to adjust trustees on a directory or a file.
Any idea of what is the correct syntax to pass the domain or the computer server name with the user or group?