internal void LoadChildrenProperties() { if (this.User != null) { this.Id = this.User.Id; this.Code = this.User.Code; this.Name = this.User.Name; this.IsAuthenticated = true; this._roles = (RF.Find <OrgPosition>() as OrgPositionRepository).GetList(User.Id); // list of roles from security store } else { this.Id = 0; this.IsAuthenticated = false; this._roles = null; } }
internal void LoadChildrenProperties() { if (this.User != null) { this.Id = this.User.Id; this.Code = this.User.Code; this.Name = this.User.Name; this.IsAuthenticated = true; this._roles = (RF.Find<OrgPosition>() as OrgPositionRepository).GetList(User.Id); // list of roles from security store } else { this.Id = 0; this.IsAuthenticated = false; this._roles = null; } }