Parameters UserName Points to the user's name that is to be authenticated. Response Specifies a character string containing the user's response to an authentication prompt. Reenter Points to a Boolean value that signals whether the authenticate subroutine has completed processing. If the Reenter parameter is a nonzero value, the authenticate subroutine expects the user to satisfy the prompt message provided by the Message parameter. If the Reenter parameter is 0, the authenticate subroutine has completed processing.
Message Points to a pointer that the authenticate subroutine allocates memory for and fills in.
The calling application is responsible for freeing this memory. If this subroutine fails, it returns a value of 1. ESAD Indicates that authentication is denied. The DCE mechanism requires credentials on successful authentication that apply only to the authenticate process and its children. The ckuserID subroutine.