All Manuals > LispWorks® User Guide and Reference Manual > 48 Miscellaneous WIN32 symbols

canonicalize-sid-string Function

Summary

Returns the canonical format of a SID specifier string.

Package

win32

Signature

canonicalize-sid-string sid-string => result

Arguments
sid-string
A string.
Values
result
A string or nil.
Description

The function canonicalize-sid-string returns the canonical format of the SID specified by sid-string. If the string is already canonical (in the S-1-.. format) it returns a string which is equal to it. When the string is an alias, it returns the canonical form. The aliases are documented in the MSDN in the page titled "SID strings" (search for SDDL_ANONYMOUS).

canonicalize-sid-string returns nil for an unrecognized SID.

See also

wait-for-connection
security-description-string-for-open-named-pipe


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:08