Table 12-4 POPSTORE_user_update Operations
Item codes requiring no additional call arguments |
Operation |
Usage |
POPSTORE_SET_FLAGS_DELETE
|
Set the DELETE usage flag.
|
POPSTORE_SET_FLAGS_DISMAIL
|
Set the DISMAIL usage flag.
|
POPSTORE_SET_FLAGS_DISUSER
|
Set the DISUSER usage flag.
|
POPSTORE_SET_FLAGS_LOCKPWD
|
Set the LOCKPWD usage flag.
|
POPSTORE_SET_FLAGS_MANAGE
|
Set the MANAGE usage flag; requires a prior call to POPSTORE_manage.
|
POPSTORE_SET_FLAGS_MIGRATED
|
Set the MIGRATED usage flag.
|
POPSTORE_SET_FLAGS_PWD_ELSEWHERE
|
Set the PWD_ELSEWHERE usage flag.
|
POPSTORE_SET_FLAGS_NO_DELETE
|
Clear the DELETE usage flag.
|
POPSTORE_SET_FLAGS_NO_DISMAIL
|
Clear the DISMAIL usage flag.
|
POPSTORE_SET_FLAGS_NO_DISUSER
|
Clear the DISUSER usage flag.
|
POPSTORE_SET_FLAGS_NO_LOCKPWD
|
Clear the LOCKPWD usage flag.
|
POPSTORE_SET_FLAGS_NO_MANAGE
|
Clear the MANAGE usage flag; requires a prior call to POPSTORE_manage.
|
POPSTORE_SET_FLAGS_NO_MIGRATED
|
Clear the MIGRATED usage flag.
|
POPSTORE_SET_FLAGS_NO_PWD_ELSEWHERE
|
Clear the PWD_ELSEWHERE usage flag.
|
POPSTORE_SET_STORE_TYPE_IMAP
|
Set the message store type to be IMAP.
|
POPSTORE_SET_STORE_TYPE_NATIVE
|
Set the message store type to be NATIVE.
|
POPSTORE_SET_STORE_TYPE_POP
|
Set the message store type to be POP.
|
Item codes requiring one additional call argument of type time_t |
Item code |
Usage |
POPSTORE_SET_LAST_BILLING
|
Set the value for the last billing time field. The value of this field
is a C time_t type expressing the number of seconds since 1 January
1970 and is passed as the third argument. Note that POPSTORE_user_add
will override this field with the current time.
|
POPSTORE_SET_LAST_CONNECT
|
Set the value of the last connect time field. The value of this field
is a C time_t type expressing the number of seconds since 1 January
1970 and is passed as the third argument. Use a value of zero to
indicate no prior connections have been made.
|
POPSTORE_SET_LAST_DISCONNECT
|
Set the value of the last disconnect time field. The value of this
field is a C time_t type expressing the number of seconds since 1
January 1970 and is passed as the third argument. Use a value of zero
to indicate that no prior connections have been made.
|
POPSTORE_SET_LAST_PWD_CHANGE
|
Set the value of the last password change time field. The value of this
field is a C time_t type expressing the number of seconds since 1
January 1970 and is passed as the third argument. Use a value of zero
to indicate that the account password is pre-expired.
|
Item codes requiring one additional call argument of type uint32 |
Item code |
Usage |
POPSTORE_SET_OVERDRAFT
|
Set the overdraft storage quota. The value of this field is measured in
units of bytes.
|
POPSTORE_SET_PAST_BLOCK_DAYS
|
Set the past block days accounting field. The value of this field is
measured in units of block days where a block is 1024 bytes.
|
POPSTORE_SET_QUOTA
|
Set the primary storage quota.
|
POPSTORE_SET_RECEIVED_BYTES
|
Set the cumulative count of received message bytes.
|
POPSTORE_SET_RECEIVED_MESSAGES
|
Set the cumulative count of received messages.
|
POPSTORE_SET_TOTAL_CONNECT
|
Set the elapsed total connect time. The value of this field is measured
in units of seconds.
|
POPSTORE_SET_TOTAL_CONNECTIONS
|
Set the elapsed count of total connections time.
|
Item codes requiring two additional call arguments of types int, char * |
Item code |
Usage |
POPSTORE_SET_GROUP_NAME
|
Set the value of the group field. The third argument to
POPSTORE_user_data_set should be the length in bytes of the string
value and the fourth argument a pointer to the string value. The length
of the string value can not exceed POPSTORE_MAX_GROUP_LEN bytes.
|
POPSTORE_SET_OWNER
|
Set the value of the owner field. The third argument to
POPSTORE_user_data_set should be the length in bytes of the string
value and the fourth argument a pointer to the string value. The length
of the string value can not exceed POPSTORE_MAX_OWN_LEN bytes.
|
POPSTORE_SET_PASSWORD
|
Set the value of the password field. The third argument to
POPSTORE_user_data_set should be the length in bytes of the string
value and the fourth argument a pointer to the string value. The
password should be supplied in plain text form; it will automatically
be encrypted. The length of the string value can not exceed
POPSTORE_MAX_PWD_LEN bytes.
|
POPSTORE_SET_PRIVATE
|
Set the value of the site-defined private data field. The third
argument to POPSTORE_user_data_set should be the length in bytes of the
string value and the fourth argument a pointer to the string value. The
length of the string value can not exceed POPSTORE_MAX_PRIV_LEN bytes.
|
POPSTORE_SET_USERNAME
|
Set the value of the username field. The third argument to
POPSTORE_user_data_set should be the length in bytes of the string
value and the fourth argument a pointer to the string value. The length
of the string value can not exceed POPSTORE_MAX_USER_LEN bytes.
|