Share via


User.IsCurrentUser method

This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeUser2.IsCurrentUser.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Function IsCurrentUser ( _
    bstrUsername As String _
) As Boolean
'Usage
Dim instance As User
Dim bstrUsername As String
Dim returnValue As Boolean

returnValue = instance.IsCurrentUser(bstrUsername)
bool IsCurrentUser(
    string bstrUsername
)

Parameters

Return value

Type: System.Boolean

See also

Reference

User interface

User members

Microsoft.Office.Interop.InfoPath namespace