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
Syntaxpublic static SalesPerson GetLoginUserSalesPerson(
this EnterpriseOneTransaction transaction
)
<ExtensionAttribute>
Public Shared Function GetLoginUserSalesPerson (
transaction As EnterpriseOneTransaction
) As SalesPerson
public:
[ExtensionAttribute]
static SalesPerson^ GetLoginUserSalesPerson(
EnterpriseOneTransaction^ transaction
)
[<ExtensionAttribute>]
static member GetLoginUserSalesPerson :
transaction : EnterpriseOneTransaction -> SalesPerson
Parameters
- transaction
- Type: Aloe.EnterpriseOne.Model.CoreEnterpriseOneTransaction
The transaction.
Return Value
Type:
SalesPersonThe 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