Home |
Function rtsmb_srv_share_add_tree_ex Function rtsmb_srv_set_group_permissions_ex Function rtsmb_srv_register_user_ex Function rtsmb_set_codepage_OEM Function rtsmb_set_codepage_ANSI |
Function rtsmb_srv_set_group_permissions_exThis function defines a user group's access rights for a share. int rtsmb_srv_set_group_permissions_ex(const char * group, const char * share, BYTE permissions); ParametersgroupName of the user group. The name must not be longer than 10 characters. shareName of the share. The share must have been created with rtsmb_srv_share_add_tree_ex. permissionAccess right group will have on share. Possible values are SMB_SECURITY_NONE (no access), SMB_SECURITY_READ (read-only), or SMB_SECURITY_READWRITE (read/write/create/delete). return value0 on success or -1 on failure. For clients to be able to access shares, rtsmb_srv_register_user_ex must be called to populate the group with users. Function rtsmb_srv_share_add_tree_ex Function rtsmb_srv_register_user_ex
|