Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

SidToName( )

Action: Translates a Security Identifier (SID) into a name.
 
Syntax: SIDTONAME (“SID”)
 
Parameters: SID

String representation of SID to translate.

Remarks: SIDTONAME is not supported on Windows 9x.
 
Returns:
0 Name corresponding to SID.
Error code Function failed  
 
See Also: InGroup( )
 
Examples:

? SidToName("S-1-1-0") ; displays 'Everyone'

If InGroup( SidToName( "S-1-5-32-544" ) )
  ? "Must mean current user is a member of local Administrators"
Endif