protected OGUPermission.IUser GetUserByCodeName(string codeName) { return(OguObjectGenerator1.CastUser(this.GetSCUserByCodeName(codeName))); }
protected void SetCurrentPrincipal(PC.SCUser user) { this.Principal = new DeluxePrincipal(new DeluxeIdentity(OguObjectGenerator1.CastUser(user))); }