2 writes to _CurrentUser
System.Web.Extensions (2)
ClientServices\Providers\ClientRoleProvider.cs (2)
133_CurrentUser = p.Identity.Name; 305_CurrentUser = username;
13 references to _CurrentUser
System.Web.Extensions (13)
ClientServices\Providers\ClientRoleProvider.cs (13)
121if (string.Compare(_CurrentUser, p.Identity.Name, StringComparison.OrdinalIgnoreCase) == 0 && DateTime.UtcNow < _CacheExpiryDate) 206if (string.IsNullOrEmpty(_CurrentUser)) 211ClientData cd = ClientDataManager.GetUserClientData(_CurrentUser, _UsingIsolatedStore); 218using (DbConnection conn = SqlHelper.GetConnection(_CurrentUser, _ConnectionString, _ConnectionStringProvider)) { 224SqlHelper.AddParameter(conn, cmd, "@UserName", _CurrentUser); 230SqlHelper.AddParameter(conn, cmd, "@RolesCachedDate", "RolesCachedDate_" + _CurrentUser); 253ClientData cd = ClientDataManager.GetUserClientData(_CurrentUser, _UsingIsolatedStore); 265using (DbConnection conn = SqlHelper.GetConnection(_CurrentUser, _ConnectionString, _ConnectionStringProvider)) { 274SqlHelper.AddParameter(conn, cmd, "@UserName", _CurrentUser); 281SqlHelper.AddParameter(conn, cmd, "@RolesCachedDate", "RolesCachedDate_" + _CurrentUser); 320using (DbConnection conn = SqlHelper.GetConnection(_CurrentUser, _ConnectionString, _ConnectionStringProvider)) { 327SqlHelper.AddParameter(conn, cmd, "@RolesCachedDate", "RolesCachedDate_" + _CurrentUser); 340SqlHelper.AddParameter(conn, cmd, "@UserName", _CurrentUser);