Documentation ¶
Index ¶
- type AccessToken
- func (at *AccessToken) Attach(hToken windows.Handle)
- func (at *AccessToken) Clear()
- func (at *AccessToken) Detach() windows.Handle
- func (at *AccessToken) GetInfo(pRet interface{}, TokenClass win.TOKEN_INFORMATION_CLASS) bool
- func (at *AccessToken) GetInfoConvert(pRet interface{}, TokenClass win.TOKEN_INFORMATION_CLASS, pWork interface{}, ...) bool
- func (at *AccessToken) GetProcessToken(desiredAccess uint32, hProcess windows.Handle) bool
- func (at *AccessToken) GetTerminalServicesSessionId(pdwSessionId *uint32) bool
- func (at *AccessToken) GetUser(pSid *GSID) bool
- func (at *AccessToken) InfoTypeToRetType(pRet interface{}, pWork unsafe.Pointer)
- type GSID
- type Revert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct {
// contains filtered or unexported fields
}
func (*AccessToken) Attach ¶
func (at *AccessToken) Attach(hToken windows.Handle)
func (*AccessToken) Clear ¶
func (at *AccessToken) Clear()
func (*AccessToken) Detach ¶
func (at *AccessToken) Detach() windows.Handle
func (*AccessToken) GetInfo ¶
func (at *AccessToken) GetInfo(pRet interface{}, TokenClass win.TOKEN_INFORMATION_CLASS) bool
func (*AccessToken) GetInfoConvert ¶
func (at *AccessToken) GetInfoConvert(pRet interface{}, TokenClass win.TOKEN_INFORMATION_CLASS, pWork interface{}, lengthWork uint32) bool
func (*AccessToken) GetProcessToken ¶
func (at *AccessToken) GetProcessToken(desiredAccess uint32, hProcess windows.Handle) bool
func (*AccessToken) GetTerminalServicesSessionId ¶
func (at *AccessToken) GetTerminalServicesSessionId(pdwSessionId *uint32) bool
func (*AccessToken) GetUser ¶
func (at *AccessToken) GetUser(pSid *GSID) bool
func (*AccessToken) InfoTypeToRetType ¶
func (at *AccessToken) InfoTypeToRetType(pRet interface{}, pWork unsafe.Pointer)
type GSID ¶
type GSID struct {
// contains filtered or unexported fields
}
func (*GSID) AccountName ¶
func (*GSID) GetAccountNameAndDomain ¶
func (s *GSID) GetAccountNameAndDomain()
Click to show internal directories.
Click to hide internal directories.