## OobsSelfConfig

OobsSelfConfig — Object that represents the current user

## Synopsis

                        OobsSelfConfig;
    OobsObject*         oobs_self_config_get                (void);
    OobsUser*           oobs_self_config_get_user           (OobsSelfConfig *config);
    gboolean            oobs_self_config_is_user_self       (OobsSelfConfig *config,
                                                             OobsUser *user);

## Object Hierarchy

      GObject
       +----OobsObject
             +----OobsSelfConfig

## Description

## Details

### OobsSelfConfig

    typedef struct _OobsSelfConfig OobsSelfConfig;

### oobs_self_config_get ()

    OobsObject*         oobs_self_config_get                (void);

Returns the OobsSelfConfig singleton, which represents the user configuration for the requester uid.

Returns : | the singleton OobsSelfConfig object.

### oobs_self_config_get_user ()

    OobsUser*           oobs_self_config_get_user           (OobsSelfConfig *config);

Returns the OobsUser that represents the requester user.

`config` : | An OobsSelfConfig.
Returns : | An OobsUser, you must not reference this object.

### oobs_self_config_is_user_self ()

    gboolean            oobs_self_config_is_user_self       (OobsSelfConfig *config,
                                                             OobsUser *user);

Check whether `user` is the user represented by OobsSelfConfig.

`config` : | An OobsSelfConfig.
`user` : | An OobsUser.
Returns : | `TRUE` if `user` is self, `FALSE` otherwise.