tibasMember_GetManagementRole()

Returns the role of the specified member of the metaspace.

Declaration

tibas_status tibasMember_GetManagementRole(
    tibasMember           member,
    tibas_managementRole* managementRole)

Parameters

Parameter Description
member Provide a tibasMember object that specifies which member to return the management role for.
role Returns the management role. Possible values are TIBAS_ROLE_NONE, TIBAS_ROLE_MEMBER, or TIBAS_ROLE_MANAGER

Remarks

Use the tibasMember_GetManagementRole() function to return the management role that is specified for a specified space member.

The management role is assigned by an internal ActiveSpaces protocol that manages group membership. At a given time, a member can have one of the following management roles:

TIBAS_ROLE_NONE
A transitory role that is in effect while the group membership is being processed.
TIBAS_ROLE_MEMBER
The member is simply a member of the metaspace and is not managing membership.
TIBAS_ROLE_MANAGER
The member is currently managing membership for the Metaspace.

Your application might use this function to determine the current management role for a member that is intended to serve some special function in your application that would require that it have a management role or not have a management role.