Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRightName ¶
type AccountRightName string
const ( AccountRightInteractiveLogon AccountRightName = wrappers.SE_INTERACTIVE_LOGON_NAME AccountRightNetworkLogon AccountRightName = wrappers.SE_NETWORK_LOGON_NAME AccountRightBatchLogon AccountRightName = wrappers.SE_BATCH_LOGON_NAME AccountRightServiceLogon AccountRightName = wrappers.SE_SERVICE_LOGON_NAME AccountRightDenyInteractiveLogon AccountRightName = wrappers.SE_DENY_INTERACTIVE_LOGON_NAME AccountRightDenyNetworkLogon AccountRightName = wrappers.SE_DENY_NETWORK_LOGON_NAME AccountRightDenyBatchLogon AccountRightName = wrappers.SE_DENY_BATCH_LOGON_NAME AccountRightDenyServiceLogon AccountRightName = wrappers.SE_DENY_SERVICE_LOGON_NAME AccountRightRemoteInteractiveLogon AccountRightName = wrappers.SE_REMOTE_INTERACTIVE_LOGON_NAME AccountRightDenyRemoteInteractiveLogon AccountRightName = wrappers.SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME )
type SecurityPolicy ¶
type SecurityPolicy struct {
// contains filtered or unexported fields
}
func OpenLocalSecurityPolicy ¶
func OpenLocalSecurityPolicy() (*SecurityPolicy, error)
func (*SecurityPolicy) AddAccountRight ¶
func (self *SecurityPolicy) AddAccountRight(sid *windows.SID, right AccountRightName) error
func (*SecurityPolicy) Close ¶
func (self *SecurityPolicy) Close() error
Click to show internal directories.
Click to hide internal directories.