Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Deletes a privilege from the CTokenPrivileges access token object.
bool Delete(
LPCTSTR pszPrivilege
) throw( );
Parameters
- pszPrivilege
Pointer to a null-terminated string that specifies the name of the privilege, as defined in the WINNT.H header file. For example, this parameter could specify the constant SE_SECURITY_NAME, or its corresponding string, "SeSecurityPrivilege."
Return Value
Returns true if the privilege was successfully deleted, false otherwise.
Remarks
This method is useful as a tool for creating restricted tokens under Windows 2000.
Requirements
Header: atlsecurity.h