-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q: how do I know how to present the result DO user name #46
Comments
To clarify, I can probably do some searching for string patterns and such from various dotnet sourced resources, but in particular, with regard to the Tulpep use case, and resulting instances. It is easy enough, for instance, to identify machine names, IIRC, and possibly even working group names, I do not know, as I am less familiar with that. In general, my use case is to identify the principal that would be used to configure a Windows Service. If there is any guidance around that aspect, in general, would be greatly appreciated. |
Here's a snippet that looks promising, but again, could this be stitched together by var machineName = Environment.MachineName;
var compSys = new ManagementObject($"Win32_ComputerSystem.Name='{machineName}'");
var workgroupValue = compSys["Workgroup"];
var workgroup = $"{workgroupValue}"; Apparently, requirest at least Such that, when we see something like this Verified under debugging. |
Possibly also in need of the |
i.e. as a local user,
".\user"
along these lines, when the resultingDirectoryObject.Path
is something like this,"WinNT://group/machineName/user"
. Any guidance around that, if you please. Withgroup
andmachineName
, ostensibly being the name of the local working group and machine names, respectively. Thanks so much...The text was updated successfully, but these errors were encountered: