Partager via


CAccessToken::Detach

Call this method to revoke ownership of the access token.

HANDLE Detach( ) throw( );

Return Value

Returns the handle to the CAccessToken which has been detached.

Remarks

This method revokes the CAccessToken's ownership of the access token.

Requirements

Header: atlsecurity.h

See Also

Concepts

CAccessToken Class

CAccessToken Members

CAccessToken::Attach