Documentation ¶
Index ¶
- func SetEntriesInAcl(ea []api.ExplicitAccess, OldAcl windows.Handle, NewAcl *windows.Handle) error
- func SetNamedSecurityInfo(objectName string, objectType int32, secInfo uint32, owner, group *windows.SID, ...) error
- func SetSecurityInfo(handle syscall.Handle, objectType int32, secInfo uint32, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetEntriesInAcl ¶
SetEntriesInAcl -- Creates a new access control list (ACL) by merging new access control or audit control information into an existing ACL structure. https://docs.microsoft.com/en-us/windows/desktop/api/aclapi/nf-aclapi-setentriesinacla
func SetNamedSecurityInfo ¶
func SetNamedSecurityInfo(objectName string, objectType int32, secInfo uint32, owner, group *windows.SID, dacl, sacl windows.Handle) error
SetNamedSecurityInfo -- Sets specified security information in the security descriptor of a specified object. The caller identifies the object by name. https://docs.microsoft.com/en-us/windows/desktop/api/aclapi/nf-aclapi-setnamedsecurityinfow
func SetSecurityInfo ¶
func SetSecurityInfo(handle syscall.Handle, objectType int32, secInfo uint32, owner, group *windows.SID, dacl, sacl windows.Handle) error
SetSecurityInfo -- The SetSecurityInfo function sets specified security information in the security descriptor of a specified object. The caller identifies the object by a handle. https://docs.microsoft.com/en-us/windows/win32/api/aclapi/nf-aclapi-setsecurityinfo
Types ¶
This section is empty.