Property Name
SecurityIdentifierString
Property Type
String
Description
Gets the Security Identifier (SID) of the object to which the
interface is bound. The value of the SID is in string format. This
property is useful when a human readable form of the SID is
required or the SID needs to be saved or written in a string
format.
This property is a read-only.
Example
Dim Sid As ISecurityIdentifier
Dim SidStr As String
'Get the interface for user object
Set Sid = GetObject ("NTDS://MSFT\John")
'Get SID in String format for user object
SidStr = Sid.SecurityIdentifierString
'Print SID
Debug.Print SidStr
See Also