file
user.h
Functions
-
auto ld_add_user(LDHandle* handle,
const char* name,
LDAPAttribute_
t** user_attrs, const char* parent) -> enum OperationReturnCode - ld_add_user Creates user.
- auto ld_del_user(LDHandle* handle, const char* name, const char* parent) -> enum OperationReturnCode
- ld_del_user Deletes user.
-
auto ld_mod_user(LDHandle* handle,
const char* name,
const char* parent,
LDAPAttribute_
t** user_attrs) -> enum OperationReturnCode - ld_mod_user Modifies the user.
- auto ld_rename_user(LDHandle* handle, const char* old_name, const char* new_name, const char* parent) -> enum OperationReturnCode
- ld_rename_user Renames the user.
- auto ld_block_user(LDHandle* handle, const char* name, const char* parent) -> enum OperationReturnCode
- ld_unblock_user Blocks user based on the type of directory service which we are connected to.
- auto ld_unblock_user(LDHandle* handle, const char* name, const char* parent) -> enum OperationReturnCode
- ld_unblock_user Unblocks user based on the type of directory service which we are connected to.
Function documentation
enum OperationReturnCode ld_add_user(LDHandle* handle,
const char* name,
LDAPAttribute_ t** user_attrs,
const char* parent)
ld_add_user Creates user.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the user. |
user_attrs in | Attributes of a user. |
parent | |
Returns |
|
enum OperationReturnCode ld_del_user(LDHandle* handle, const char* name, const char* parent)
ld_del_user Deletes user.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the user. |
parent in | Container that holds the user. |
Returns |
|
enum OperationReturnCode ld_mod_user(LDHandle* handle,
const char* name,
const char* parent,
LDAPAttribute_ t** user_attrs)
ld_mod_user Modifies the user.
Parameters | |
---|---|
handle | Pointer to libdomain session handle. |
name | Name of the user. |
parent | Container that holds the user. |
user_attrs | List of user attributes. |
Returns |
|
enum OperationReturnCode ld_rename_user(LDHandle* handle, const char* old_name, const char* new_name, const char* parent)
ld_rename_user Renames the user.
Parameters | |
---|---|
handle | Pointer to libdomain session handle. |
old_name | Old name of the user. |
new_name | New name of the user. |
parent | Container that holds the user. |
Returns |
|
enum OperationReturnCode ld_block_user(LDHandle* handle, const char* name, const char* parent)
ld_unblock_user Blocks user based on the type of directory service which we are connected to.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the user to block. |
parent in | Parent dn of the user. Can be NULL than default parent will be selected. |
Returns |
|
enum OperationReturnCode ld_unblock_user(LDHandle* handle, const char* name, const char* parent)
ld_unblock_user Unblocks user based on the type of directory service which we are connected to.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the user to unblock. |
parent in | Parent dn of the user. Can be NULL than default parent will be selected. |
Returns |
|