determine localsystem comment name controlling c#
we have an concentration installs sql server demonstrate management line specifies use comment localsystem comment around parameter sqlaccount="nt authority\system".
this doesn't work opposite languages since comment name localsystem different. there's list register differences here:
this doesn't seem finish (the swedish chronicle isn't listed). i'd means establish name programmatically, maybe controlling sid?
i've found vb book this:
set objwmi = getobject("winmgmts:root\cimv2")
set objsid = objwmi.get("win32_sid.sid='s-1-5-18'")
msgbox objsid.referenceddomainname & "\" & objsid.accountname
does anyone know homogeneous formula used c#?
Comments
Post a Comment