Click or drag to resize
ContactRoleInfoProviderGetContactRoleInfo Method (Int32)

Note: This API is now obsolete.

Returns contact role with specified ID.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IContactRoleInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - ContactRoleInfo.Provider.")]
public static ContactRoleInfo GetContactRoleInfo(
	int roleId
)

Parameters

roleId
Type: SystemInt32
Contact role ID

Return Value

Type: ContactRoleInfo
See Also