KV_SET_OOP_USER

This structure specifies the user for KVOOP to run as, when fpSetConfig() is used with KVFLT_SETOOPUSERWIN or KVFLT_SETOOPUSERUNIX. For more information, see Run KeyView with Reduced Privileges. The structure is defined differently, and contains different user information, on Windows and non-Windows platforms. In either case, the structure is defined in kvtypes.h, and must be initialized using the macro KVStructInit before use.

Windows

typedef struct tag_KV_SET_OOP_USER
{
    KVStructHeader;

    const char* username;
    const char* password;
    const char* domain;
}
KV_SET_OOP_USER;

Member Descriptions

KVStructHeader The KeyView version of the structure. See KVStructHead.
username The username of the user to start KVOOP as.
password The password of the user to start KVOOP as.
domain The domain of the user to start KVOOP as.

Non-Windows

typedef struct tag_KV_SET_OOP_USER
{
    KVStructHeader;

    uid_t uid;
    gid_t gid;
}
KV_SET_OOP_USER;

Member Descriptions

KVStructHeader The KeyView version of the structure. See KVStructHead.
uid The user ID for KVOOP to change to after starting.
gid The group ID for KVOOP to change to after starting.