Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LookupSID (0.12 sec)

  1. src/syscall/security_windows.go

    	if e != nil {
    		return nil, e
    	}
    	defer LocalFree((Handle)(unsafe.Pointer(sid)))
    	return sid.Copy()
    }
    
    // LookupSID retrieves a security identifier sid for the account
    // and the name of the domain on which the account was found.
    // System specify target computer to search.
    func LookupSID(system, account string) (sid *SID, domain string, accType uint32, err error) {
    	if len(account) == 0 {
    		return nil, "", 0, EINVAL
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. src/os/user/lookup_windows.go

    		return "", e
    	}
    	return dir, nil
    }
    
    // lookupGroupName accepts the name of a group and retrieves the group SID.
    func lookupGroupName(groupname string) (string, error) {
    	sid, _, t, e := syscall.LookupSID("", groupname)
    	if e != nil {
    		return "", e
    	}
    	// https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-samr/7b2aeb27-92fc-41f6-8437-deb65d950921#gt_0387e636-5654-4910-9519-1f8326cf5ec0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	if e != nil {
    		return nil, e
    	}
    	defer LocalFree((Handle)(unsafe.Pointer(sid)))
    	return sid.Copy()
    }
    
    // LookupSID retrieves a security identifier SID for the account
    // and the name of the domain on which the account was found.
    // System specify target computer to search.
    func LookupSID(system, account string) (sid *SID, domain string, accType uint32, err error) {
    	if len(account) == 0 {
    		return nil, "", 0, syscall.EINVAL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Log2phys_t.Contigbytes", Field, 0},
    		{"Log2phys_t.Devoffset", Field, 0},
    		{"Log2phys_t.Flags", Field, 0},
    		{"LookupAccountName", Func, 0},
    		{"LookupAccountSid", Func, 0},
    		{"LookupSID", Func, 0},
    		{"LsfJump", Func, 0},
    		{"LsfSocket", Func, 0},
    		{"LsfStmt", Func, 0},
    		{"Lstat", Func, 0},
    		{"MADV_AUTOSYNC", Const, 1},
    		{"MADV_CAN_REUSE", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg syscall (windows-386), func LookupAccountSid(*uint16, *SID, *uint16, *uint32, *uint16, *uint32, *uint32) error
    pkg syscall (windows-386), func LookupSID(string, string) (*SID, string, uint32, error)
    pkg syscall (windows-386), func MapViewOfFile(Handle, uint32, uint32, uint32, uintptr) (uintptr, error)
    pkg syscall (windows-386), func MoveFile(*uint16, *uint16) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top