NameSpace.CurrentProfileName property (Outlook)
Returns a String representing the name of the current profile. Read-only.
expression A variable that represents a NameSpace object.
You assign a profile name when you create a profile.
CurrentProfileName maps to the MAPI property PidTagProfileName.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.