Beispiel #1
0
        private void LoadChildrenProperties()
        {
            if (this.User != null)
            {
                base.Name            = this.User.Name;
                base.IsAuthenticated = true;
                this._roles          = (RF.Create <OrgPosition>() as OrgPositionRepository).GetList(User.Id); // list of roles from security store

                //var loadThis = this.OrgsHavePermission;
            }
            else
            {
                base.Name            = string.Empty;
                base.IsAuthenticated = false;
                this._roles          = null;
            }
        }