umSetUserEnabled | GoAhead WebServer API | GoAhead EMF
## Synopsis Set the enabled state of a given user. ## Prototype
     #include "um.h"

     int umSetUserEnabled(char_t * user, bool_t enabled);
## Parameters
user | user ID
enabled | enabled state
## Description int umSetUserEnabled(char_t * user, bool_t enabled); ## Return Value This function returns 0 if successful, or -1 on error. ## Example
    int nCheck = umSetUserEnabled(T("Mortimer"), TRUE);
## See Also umGetUserEnabled() ##