Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetTokenPrimaryGroup (0.21 sec)

  1. src/syscall/security_windows.go

    	if e != nil {
    		return nil, e
    	}
    	return (*Tokenuser)(i), nil
    }
    
    // GetTokenPrimaryGroup retrieves access token t primary group information.
    // A pointer to a SID structure representing a group that will become
    // the primary group of any objects created by a process using this access token.
    func (t Token) GetTokenPrimaryGroup() (*Tokenprimarygroup, error) {
    	i, e := t.getInfo(TokenPrimaryGroup, 50)
    	if e != nil {
    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

    	t, e := syscall.OpenCurrentProcessToken()
    	if e != nil {
    		return nil, e
    	}
    	defer t.Close()
    	u, e := t.GetTokenUser()
    	if e != nil {
    		return nil, e
    	}
    	pg, e := t.GetTokenPrimaryGroup()
    	if e != nil {
    		return nil, e
    	}
    	uid, e := u.User.Sid.String()
    	if e != nil {
    		return nil, e
    	}
    	gid, e := pg.PrimaryGroup.String()
    	if e != nil {
    		return nil, e
    	}
    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
    	}
    	return (*Tokengroups)(i), nil
    }
    
    // GetTokenPrimaryGroup retrieves access token t primary group information.
    // A pointer to a SID structure representing a group that will become
    // the primary group of any objects created by a process using this access token.
    func (t Token) GetTokenPrimaryGroup() (*Tokenprimarygroup, error) {
    	i, e := t.getInfo(TokenPrimaryGroup, 50)
    	if e != nil {
    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

    		{"(Errno).Temporary", Method, 0},
    		{"(Errno).Timeout", Method, 0},
    		{"(Signal).Signal", Method, 0},
    		{"(Signal).String", Method, 0},
    		{"(Token).Close", Method, 0},
    		{"(Token).GetTokenPrimaryGroup", Method, 0},
    		{"(Token).GetTokenUser", Method, 0},
    		{"(Token).GetUserProfileDirectory", Method, 0},
    		{"(WaitStatus).Continued", Method, 0},
    		{"(WaitStatus).CoreDump", Method, 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), method (*Timeval) Nanoseconds() int64
    pkg syscall (windows-386), method (Token) Close() error
    pkg syscall (windows-386), method (Token) GetTokenPrimaryGroup() (*Tokenprimarygroup, error)
    pkg syscall (windows-386), method (Token) GetTokenUser() (*Tokenuser, error)
    pkg syscall (windows-386), method (Token) GetUserProfileDirectory() (string, 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