UCC_CONTAINER_MEMBER_MATCHING_TYPE Enumeration

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Enumerates the container member matching type.

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)

Syntax

'Declaration
Public Enumeration UCC_CONTAINER_MEMBER_MATCHING_TYPE
public enum UCC_CONTAINER_MEMBER_MATCHING_TYPE
public enum class UCC_CONTAINER_MEMBER_MATCHING_TYPE
public enum UCC_CONTAINER_MEMBER_MATCHING_TYPE
public enum UCC_CONTAINER_MEMBER_MATCHING_TYPE

Members

Member name Description
UCCCMMT_BEST A flag to indicate that the query should return a container member matching the specified membership scope in a best-effort scenario. For a container with "contoso.com" as a domain member, the call to FindContainerMember("john@contoso.com", UCC_CONTAINER_MEMBERSHIP_SCOPE.UCCCMS_USER, UCC_CONTAINER_MEMBER_MATCHING_TYPE.UCCCMMT_BEST) returns the domain member ("contoso.com"). The same call with UCC_CONTAINER_MEMBER_MATCHING_TYPE.UCCCMMT_EXACT returns UCC_E_NOT_EXIST. For a container with a user member ("john@contoso.com") and a domain member ("contoso.com"), setting this flag makes the call return the user member.
UCCCMMT_EXACT A flag to indicate that the query should return a container member matching the specification exactly. For a container with "john@contoso.com" as a user member, a call to FindContainerMember("john@contoso.com", UCC_CONTAINER_MEMBERSHIP_SCOPE.UCCCMS_USER, UCC_CONTAINER_MEMBER_MATCHING_TYPE.UCCCMMT_EXACT) returns the user member.
UCCCMMT_EXCLUDE_EXACT A flag to indicate that the query should return a container member matching the membership scope, but is not an exact match. For a container with a user member ("john@contoso.com") and a domain member ("contoso.com"), a call to FindContainerMember("john@contoso.com", UCC_CONTAINER_MEMBERSHIP_SCOPE.UCCCMS_USER, UCC_CONTAINER_MEMBER_MATCHING_TYPE.UCCCMMT_EXCLUDE_EXACT) returns the domain member ("contoso.com"). Setting UCCCMMT_EXACT or UCCCMMT_BEST returns the user member ("john@contoso.com").

Remarks

The UCC_CONTAINER_MEMBER_MATCHING_TYPE enumeration describes the criteria to find a container member when calling the IUccContainerMembershipManager.FindContainerMember method.

Win32 COM/C++ Syntax

typedef enum UCC_CONTAINER_MEMBER_MATCHING_TYPE
{
   UCCCMMT_EXACT = 1,
   UCCCMMT_BEST,
   UCCCMMT_EXCLUDE_EXACT
};

Example

The following example calls TryFindContainerMember on a IUccContainerMembershipManager interface instance and looks for the best match for the given search criteria.

if (this.cmm.TryFindContainerMember(
   URI,
   UCC_CONTAINER_MEMBERSHIP_SCOPE
   .UCCCMS_EVERYONE,
   UCC_CONTAINER_MEMBER_MATCHING_TYPE
   .UCCCMMT_BEST,
   out cm) != true)
{
   cm = null;
}

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

Microsoft.Office.Interop.UccApi Namespace