UserObjectClass.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 IsCurrentUser ( _
bstrUsername As String _
) As Boolean
'Usage
Dim instance As UserObjectClass
Dim bstrUsername As String
Dim returnValue As Boolean
returnValue = instance.IsCurrentUser(bstrUsername)
public virtual bool IsCurrentUser(
string bstrUsername
)
Parameters
- bstrUsername
Type: System.String
Return value
Type: System.Boolean