Click or drag to resize
ContactManagementContextUpdateUserLoginContact Method
Returns the contact assigned to the specified user. The contact is retrieved from persistent storage and is compared with all the contacts related to the given user. Applies contact merging to resolve the conflicts when the selected contact is already in relationship with another user.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
public static ContactInfo UpdateUserLoginContact(
	string userName
)

Parameters

userName
Type: SystemString
Username of user the contact must be assigned to.

Return Value

Type: ContactInfo
Remarks
Use only for login and registration purposes. The method has no effect and returns null if the ContactManagement feature is disabled or unavailable in the license.
See Also