UserObjectClass.User2_IsCurrentUser method
This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Public Overridable Function User2_IsCurrentUser ( _
bstrUsername As String _
) As Boolean
'Usage
Dim instance As UserObjectClass
Dim bstrUsername As String
Dim returnValue As Boolean
returnValue = instance.User2_IsCurrentUser(bstrUsername)
public virtual bool User2_IsCurrentUser(
string bstrUsername
)
Parameters
- bstrUsername
Type: System.String
Return value
Type: System.Boolean