Partager via


_NameSpace.CurrentUser Property

Returns the display name of the currently logged-on user as a Recipient object. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property CurrentUser As Recipient
    Get
'Usage
Dim instance As _NameSpace
Dim value As Recipient

value = instance.CurrentUser
[DispIdAttribute()]
Recipient CurrentUser { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.Recipient

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Information About the Current User

How to: Create a Rule to File Mail Items from a Manager and Flag Them for Follow-Up