On Thursday, 1 September 2016 00:10:39 UTC+10, kumargv wrote:
> I am getting SID of my system using WMI
>
> >wmic useraccount where name='vijay' get sid
> SID
> S-1-5-21-742204146-2006990925-2362806598-1001
>
> But still i am not able to get sid structure .
golang.org/x/sys/windows.SID is defined as
type SID struct{}
If you want to convert SID into string, you can do this
https://play.golang.org/p/vWqQZuQCZC
Alex
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.