umSetUserEnabledGoAhead WebServer APIGoAhead EMF

Synopsis

Set the enabled state of a given user.

Prototype

 #include "um.h"

 int umSetUserEnabled(char_t * user, bool_t enabled);

Parameters

useruser ID
enabledenabled 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()