Click or drag to resize
ContactRoleInfoProviderGetContactRoleInfo Method (String)

Note: This API is now obsolete.

Returns contact role with specified name.

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

Parameters

roleName
Type: SystemString
Contact role name

Return Value

Type: ContactRoleInfo
See Also