# cnfSetMemberAttribute

Sets the value of a member attribute.

#### Prototype

DWORD cnfSetMemberAttribute ( CNFRESOURCEHD cnfresourcehd, DWORD memberid, DWORD attribute, INT32 value)

Argument | Description
cnfresourcehd | Handle returned by cnfOpenResource.
memberid | Member identifier returned by cnfJoinConference.
attribute | Specifies the attribute to set. Refer to cnfGetMemberAttribute for a complete list of the member attributes.
value | New value for the attribute.

#### Return values

Return value | Description
SUCCESS |
CTAERR_INVALID_HANDLE | cnfresourcehd is not a valid conference resource handle.
CNFERR_BOARD_TIMEOUT | Board timed out while waiting for a response message.
CNFERR_INVALID_ATTRIBUTE | attribute is not a valid attribute for a member.
CNFERR_INVALID_IDENTIFIER | memberid is not a valid member identifier.
CNFERR_INVALID_PARAMETER | value is inconsistent or out of range for the given attribute.

#### Details

Refer to CNF.MEMBER_ATTR for information about attribute default values.

#### See also

cnfGetMemberInfo, cnfJoinConference, cnfSetMemberAttributeList

#### Example

error = cnfSetMemberAttribute( cnfresourcehd, memberid,
MEMBER_ATTR_TALKER_ENABLE, TRUE);