.
ret = GetNamedSecurityInfo(strPath, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, Nothing, Nothing, pOldDACL, Nothing, pSecDesc)
.
ret = GetNamedSecurityInfo(_Path, SE_OBJECT_TYPE.SE_FILE_OBJECT, SECURITY_INFORMATION.DACL_SECURITY_INFORMATION, Nothing, Nothing, pDACL, Nothing, pSD)
.
If GetNamedSecurityInfo(Path, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, Nothing, Nothing, pDACL, Nothing, pSecDesc) <> 0 Then
.
Summary
The
GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
4/22/2014 1:00:11 PM - 192.168.101.2
.
static extern uint GetNamedSecurityInfo(
.
Declare Function GetNamedSecurityInfo Lib "advapi32.dll" ( _
.
int errorReturn = GetNamedSecurityInfo(objectName, SE_FILE_OBJECT,
.
Console.WriteLine("GetNamedSecurityInfo: {0} ", errorReturn);
.
ret = GetNamedSecurityInfo(strPath, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION, Nothing, Nothing, pOldDACL, Nothing, pSecDesc)
.
Documentation
[GetNamedSecurityInfo] on MSDN
.
Summary
The QueryServiceObjectSecurity function retrieves a copy of the security descriptor associated with a service object. You can also use the GetNamedSecurityInfo function to retrieve a security descriptor.
4/9/2008 12:59:18 PM - -213.199.128.177
The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
4/22/2014 1:00:11 PM - 192.168.101.2
.
GetNamedSecurityInfo
The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
4/22/2014 1:00:11 PM - 192.168.101.2
.
GetNamedSecurityInfo
The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
4/22/2014 1:00:11 PM - 192.168.101.2
.
GetNamedSecurityInfo
The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.
4/22/2014 1:00:11 PM - 192.168.101.2