PosModelExtensionsFindActivePosOperatorT Method (T, String) |
Find the active POS operator
Namespace:
Aloe.EnterpriseOne.Model.Crm.Pos
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static Operator FindActivePosOperator<T>(
this T posModel,
string currentUserLogin
)
where T : EnterpriseOneEntityObject, IPosModel
<ExtensionAttribute>
Public Shared Function FindActivePosOperator(Of T As {EnterpriseOneEntityObject, IPosModel}) (
posModel As T,
currentUserLogin As String
) As Operator
public:
[ExtensionAttribute]
generic<typename T>
where T : EnterpriseOneEntityObject, IPosModel
static Operator^ FindActivePosOperator(
T posModel,
String^ currentUserLogin
)
[<ExtensionAttribute>]
static member FindActivePosOperator :
posModel : 'T *
currentUserLogin : string -> Operator when 'T : EnterpriseOneEntityObject and IPosModel
Parameters
- posModel
- Type: T
Self-reference - currentUserLogin
- Type: SystemString
User name (Login) for the currently logged-in user
Type Parameters
- T
- Type of the model
Return Value
Type:
OperatorPos operator
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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