diff options
Diffstat (limited to 'cpp/bindings/qpid/dotnet/src/Connection.h')
-rw-r--r-- | cpp/bindings/qpid/dotnet/src/Connection.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/bindings/qpid/dotnet/src/Connection.h b/cpp/bindings/qpid/dotnet/src/Connection.h index 6a0caf1a16..0907d996ab 100644 --- a/cpp/bindings/qpid/dotnet/src/Connection.h +++ b/cpp/bindings/qpid/dotnet/src/Connection.h @@ -115,5 +115,13 @@ namespace Messaging { Session ^ CreateSession(System::String ^ name);
Session ^ GetSession(System::String ^ name);
+
+ property System::String ^ AuthenticatedUsername
+ {
+ System::String ^ get ()
+ {
+ return gcnew System::String(connectionp->getAuthenticatedUsername().c_str());
+ }
+ }
};
}}}}
|