diff --git a/websocket-sharp/Server/HttpRequestEventArgs.cs b/websocket-sharp/Server/HttpRequestEventArgs.cs
index e283a5ff..ca20ff05 100644
--- a/websocket-sharp/Server/HttpRequestEventArgs.cs
+++ b/websocket-sharp/Server/HttpRequestEventArgs.cs
@@ -28,6 +28,7 @@
using System;
using System.IO;
+using System.Security.Principal;
using System.Text;
using WebSocketSharp.Net;
@@ -98,6 +99,25 @@ namespace WebSocketSharp.Server
}
}
+ ///
+ /// Gets the information for the client.
+ ///
+ ///
+ ///
+ /// A instance or
+ /// if not authenticated.
+ ///
+ ///
+ /// That instance describes the identity, authentication scheme,
+ /// and security roles for the client.
+ ///
+ ///
+ public IPrincipal User {
+ get {
+ return _context.User;
+ }
+ }
+
#endregion
#region Private Methods