共用方式為


CSid::Sid

Returns the SID (security identifier) structure as a string.

LPCTSTR Sid( ) const throw(...);

Return Value

Returns the SID structure as a string in a format suitable for display, storage, or transmission. Equivalent to ConvertSidToStringSid, although this function is only available on Windows 2000 or later and so is emulated for earlier operating systems.

Requirements

Header: atlsecurity.h

See Also

Concepts

CSid Class

CSid Members