Click or drag to resize
ICurrentUserContactProviderGetContactForCurrentUserAndContact Method
Gets a ContactInfo for the given currentUser when there is a priori information about the possible current contact available.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
ContactInfo GetContactForCurrentUserAndContact(
	IUserInfo currentUser,
	ContactInfo currentContact
)

Parameters

currentUser
Type: CMS.BaseIUserInfo
The user the contact will be obtained for
currentContact
Type: CMS.ContactManagementContactInfo
A possible candidate to be selected as the current contact

Return Value

Type: ContactInfo
The contact selected as the current one for the currentUser.
See Also