Partager via


CSid::IsValid

Tests the CSid object for validity.

bool IsValid( ) const throw();

Return Value

Returns true if the CSid object is valid, false if not. There is no extended error information for this method; do not call GetLastError.

Remarks

The IsValid method validates the CSid object by verifying that the revision number is within a known range and that the number of subauthorities is less than the maximum.

Requirements

Header: atlsecurity.h

See Also

Concepts

CSid Class

CSid Members