Click or drag to resize

SalesPersonExtensionsGetLoginUserSalesPerson Method

Gets the sales person of the current login user in the current Enterprise Company. Returns null if the login user is not a sales person.

Namespace:  Aloe.EnterpriseOne.Model.Crm
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static SalesPerson GetLoginUserSalesPerson(
	this EnterpriseOneTransaction transaction
)

Parameters

transaction
Type: Aloe.EnterpriseOne.Model.CoreEnterpriseOneTransaction
The transaction.

Return Value

Type: SalesPerson
The sales person of the current login user in the current Enterprise Company or null if the login user is not a sales person.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EnterpriseOneTransaction. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also