MCPcopy
hub / github.com/google/uuid / NewDCEPerson

Function NewDCEPerson

dce.go:46–48  ·  view source on GitHub ↗

NewDCEPerson returns a DCE Security (Version 2) UUID in the person domain with the id returned by os.Getuid. NewDCESecurity(Person, uint32(os.Getuid()))

()

Source from the content-addressed store, hash-verified

44//
45// NewDCESecurity(Person, uint32(os.Getuid()))
46func NewDCEPerson() (UUID, error) {
47 return NewDCESecurity(Person, uint32(os.Getuid()))
48}
49
50// NewDCEGroup returns a DCE Security (Version 2) UUID in the group
51// domain with the id returned by os.Getgid.

Callers 1

TestDCEFunction · 0.85

Calls 1

NewDCESecurityFunction · 0.85

Tested by 1

TestDCEFunction · 0.68