IAccessEntry Property: SecurityIdentifier

Property Name
SecurityIdentifier

Property Type
String

Description
Gets or sets the Security Identifier of a trustee for an ACE in an ACL.

Example

Dim ObjSec As IObjectSecurity
Dim ACL As IAccessList
Dim ACE As IAccessEntry
Set ObjSec = CreateObject("DirectScript.ObjectSecurity")
ObjSec.AttachFile "C:\test.txt"
Set ACL = ObjSec.GetAccessList
For Each ACE In ACL
Debug.Print ACE.SecurityIdentifier
Next

 

See Also